Questions tagged [preview]

User Interface action to display a preliminary or scaled down version of the actual item.

User Interface action to display a preliminary or scaled down version of the actual item.

For images, typically showing a thumbnail version of the full image.

For documents, typically showing the first few pages or draft copies of the final.

1681 questions
5
votes
4 answers

Implementing my own print preview?

I have developed my own Report Control which is simply nothing but drawing text on a CDC of the control window's client DC. I have got the printing function to work too. The report output is sent to the printer directly. However I want to let the…
OverTheEdge
  • 749
  • 1
  • 11
  • 17
4
votes
2 answers

How can I make a Windows Explorer file preview screen in WPF?

I'm working on an application that will have attachments, and I would like to create a type of display like in windows Explorer, where you choose a "Details" view, and also show the preview pane. I would like to be able to show a thumbnail view of…
Russ
  • 12,312
  • 20
  • 59
  • 78
4
votes
2 answers

Hide camera preview but still receive preview callbacks

I want to show filtered camera preview in my application. I'm using Camera.setPreviewCallback() for this. I managed to process callback data and show filtered image in OpenGL view but I have no idea how to hide original camera preview and still…
Dmitry Ryadnenko
  • 22,222
  • 4
  • 42
  • 56
4
votes
2 answers

Previewing what's in memory (javascript)

I'm building an app in javascript and I would like to use console.log to preview everything that is on memory at runtime. I know I can check each variable selectively, but: is there a way to see everything? Thankyou.
4
votes
2 answers

Preview xaml layout with specific sample data

I'm developing a WP7 application, and I'm generating a listbox with a few items. I was wondering if there is a way to preview how the layout would look. So far, since the elements don't exist, I can't "preview" them. Is there some way to feed some…
Adrian A.
  • 172
  • 1
  • 11
4
votes
1 answer

Reopening camera after intent chooser is canceled

I have created a custom camera preview view CameraView which extends SurfaceView, and it also implements SurfaceHolder.Callback interface. The view operates with the camera. When you open the view it shows a camera preview. On the same screen there…
so_user
  • 43
  • 5
4
votes
3 answers

Is it possible to have Camera Preview and TextView on the same screen?

I was wondering if there is some way to have a camera preview fill a part of the screen, and at the bottom have a textview box into which I can add text later. I don't have any code yet because my team is still evaluating if this is possible at all…
Rahul Popuri
  • 79
  • 1
  • 11
4
votes
3 answers

How to set a value for @FocusState in SwiftUI Preview

I'm passing a FocusState-property of a textfield to a childview. This works as expected. In this childview I want to get the preview working, however I can't seem to set a contant value for the Focusstate. Anyone ideas? struct MainContentView: View…
Etihv
  • 43
  • 4
4
votes
1 answer

WPF XPS Document doesn't display images anymore

I am using the code below for years but suddenly stop to display images. I made a short version to test it and explain: There is an UserControl XamlPage which contains only two controls:
Yannick
  • 194
  • 8
4
votes
1 answer

Unable to preview multiple page tiff files in .Net

I'm trying to preview and print multiple page TIFF files from a C# 2005 Windows application. Printing works fine but when I send my PrintDocument to a PrintPreviewDialog I get two images of the first page rather than an ameage of the first and…
Matt
  • 41
  • 1
  • 2
4
votes
3 answers

How to preview image in Jquery?

I have some html elements :
Here the js : function preview(input) { if (input.files &&…
Nấm Lùn
  • 1,277
  • 6
  • 28
  • 48
4
votes
1 answer

Xcode 13.2 SwiftUI Preview Crashes

I am learning SwiftUI on 100 Days of SwiftUI on Hacking with Swift. My Xcode SwiftUI Preview crashes and I don't know why. Running on Simulator works though. I tried to completely reinstall Xcode (deleting the app, preferences, libraries etc), but…
Minsoo Choo
  • 161
  • 3
  • 9
4
votes
2 answers

GWT Event Preview vs Event Handler

My question is, what's the different between event preview and event handler in GWT. There is a callback function boolean onEventPreview(Event event) for event preview and a callback function void onBrowserEvent(Event event) as well. They are…
cn1h
  • 1,188
  • 4
  • 16
  • 24
4
votes
1 answer

How can I preview a SwiftUI View shared between iOS and WatchOS?

I have a sample SwiftUI View I am using in a iOS with Apple Watch Extension and I am getting this error when I try to preview it in a WatchOS "Device": The run destination iPhone 12 mini is not valid for Running the scheme 'TestApp WatchKit App' I…
Gin Tonyx
  • 383
  • 1
  • 11
4
votes
2 answers

SwiftUI preview breaks with error: not found in any targets

Here on my current configuration (Big Sur 11.1 (20C69), Xcode 12.3 (12C33)) I have an problem withCouldNotFindInputNodeInBuiltGraphError: WeeklyPlanViewModel_Tests.swift not found in any…
fanton
  • 71
  • 4