PdfDisplayMedia.SetMediaWindow Method

PDF File Writer

PdfDisplayMediaSetMediaWindow Method

Set media window

Namespace:  PdfFileWriter
Assembly:  PdfFileWriter (in PdfFileWriter.dll) Version: 1.1.24.0 (1.1.24.0)
Syntax
C#
public void SetMediaWindow(
	MediaWindow MediaWindow,
	int Width = 0,
	int Height = 0,
	WindowPosition Position = WindowPosition.Center,
	WindowTitleBar TitleBar = WindowTitleBar.TitleBarWithCloseButton,
	WindowResize Resize = WindowResize.KeepAspectRatio,
	string Title = null
)

Parameters

MediaWindow
Type: PdfFileWriterMediaWindow
Media window
Width (Optional)
Type: SystemInt32
Floating window width
Height (Optional)
Type: SystemInt32
Floating window height
Position (Optional)
Type: PdfFileWriterWindowPosition
Floating window position
TitleBar (Optional)
Type: PdfFileWriterWindowTitleBar
Floating window title bar
Resize (Optional)
Type: PdfFileWriterWindowResize
Floating window resize
Title (Optional)
Type: SystemString
Floating window title
Remarks

All optional arguments are applicable to floating window only.

See Also