Hide

SftPrintPreview/OCX 1.0 - ActiveX Print Preview Control

Display
Print

SftPrintPreview Object (ISftPrintPreview Interface)

The SftPrintPreview object represents the SftPrintPreview/OCX control. Through its properties, additional objects can be accessed.

Property/MethodDescription
_FlatPropertiesDefines whether properties are stored as a flat list in a property bag.
_VersionReturns the product's exact version.
AboutBoxDisplays product, contact and copyright information.
BackColorDefines the background color used.
BottomMarginDefines the height of the bottom margin.
ContentProviderDefines the control that provides printable content.
ContentProviderCallbackDefines the callback that provides printable content.
ContentProviderCallbackXDefines the callback that provides printable content.
ContentSizingDefines the resizing method used to fit the contents within the page.
CurrentPageDefines the current page displayed in zoomed mode.
CustomCodeDefines optional product customization.
DataProviderDefines the control that provides the data for printable content (used by ContentProvider window).
DefaultPrinterReturns the name of the default printer.
DirectReturns an ISftPrintPreviewVTable interface pointer.
EnabledDefines whether control responds to user-generated events.
FirstPageDefines the first page displayed in multipage mode.
FontDefines the default font used.
FooterCenterDefines the centered portion of the page footer.
FooterFontDefines the font used for page footers.
FooterLeftDefines the left-adjusted portion of the page footer.
FooterMarginDefines the distance between the bottom paper edge and the footer.
FooterRightDefines the right-adjusted portion of the page footer.
ForeColorDefines the default text color used.
GetCurrentPrinterRetrieves the current printer settings.
GetDDBSizeRetrieves the display and print size of a device dependent bitmap.
GetDeviceInfoReturns DEVMODE and DEVNAMES handles for the currently defined printer.
GetInfoReturns information about the control and its environment.
GetPageAreaReturns the area of the displayed page (in pixels).
GutterMarginDefines the additional margin added alternating between front and back pages.
GutterPositionDefines the location of the gutter margin.
HeaderCenterDefines the centered portion of the page header.
HeaderFontDefines the font used for page headers.
HeaderLeftDefines the left-adjusted portion of the page header.
HeaderMarginDefines the distance between the top paper edge and the header.
HeaderRightDefines the right-adjusted portion of the page header.
HitTestDetermines the area at a given location.
HitTestPixDetermines the area at a given location.
hWndReturns the control's window handle.
InfoReturns information about the control and its environment.
LeftMarginDefines the width of the left margin.
LicenseReturns the product's license number.
LineAboveFooterDefines whether a line is drawn above the footer.
LineBelowHeaderDefines whether a line is drawn below the header.
MarginPagesDefines the width of the distance between pages.
MarginRowsDefines the height of the distance between page rows.
MaxPageGroupsDefines the maximum number of pages per row selectable using the tool bar.
MaxPageRowsDefines the maximum number of page rows selectable using the tool bar.
MaxZoomDefines the maximum user-selectable page zoom factor (in percent).
MirrorMarginsDefines whether the margins and headers/footers are reversed on back pages.
MouseIconDefines a custom mouse icon.
MouseIconHDefines a custom mouse icon.
MousePointerDefines the mouse pointer used.
OLEDragInitiates an OLE drag & drop operation.
OLEDragModeDefines OLE drag support.
OLEDropModeDefines OLE drop support.
OutputNameDefines the name of the output that will be sent to the print queue.
PageGapColorDefines the color used between paired pages.
PageGapSizeDefines the width/height of the area between paired pages.
PageGroupsDefines the number of pages per row.
PageRowsDefines the number of page rows displayed.
PageSetupInvokes the Page Setup dialog.
PairPagesPair front and back of previewed pages, even if printer duplexing has not been enabled.
PaperColorDefines the paper color used.
PrintContentsStart printing.
PrintDDBDisplays/prints a device dependent bitmap.
PrinterReturns the SftPrintPreviewPrinter object describing the current printer.
PrinterSetupInvokes the Print Setup dialog.
PrintPagesDefines the pages to print using the PrintContents method.
RefreshForces an immediate repaint of the control.
RenderingInfoReturns the information required for the page rendering event RenderContent.
RenderingWorkAreaReturns the workarea for the page rendering event RenderContent.
RenderRichEditReturns a function that implements RichEdit control rendering.
RenderRichEditXReturns a function that implements RichEdit control rendering.
RestartForces the repositioning of all preview pages and clearing of any cached information.
RightMarginDefines the width of the right margin.
RightToLeftDefines the display direction and visual appearance on a bidirectional system.
ScrollbarsDefines whether scrollbars are available.
SelectedColorDefines the color used to outline the currently selected page.
SetCurrentPrinterChanges the current printer and printer settings.
SetDefaultPrinterMakes the Windows default printer the current printer.
SetDeviceInfoSets DEVMODE and DEVNAMES handles for the currently defined printer.
SetDeviceInfo2Sets DEVMODE and DEVNAMES handles for the currently defined printer.
ShadowColorDefines the shadow color used.
ShadowSizeDefines the width and height of shadow lines (in pixels).
ToolbarDefines whether the tool bar is displayed.
ToolbarColorDefines the tool bar background color used.
ToolBarEditSets the input focus to a control on the built-in tool bar for editing by the user.
TopMarginDefines the height of the top margin.
TotalPagesReturns the total number of pages.
UnitsDefines the units used for measurements inches or centimeters.
UseThemesDefines whether Windows themes are used (Windows XP and up).
VersionReturns the product's exact version.
VisitedPageInfoReturns saved page information for a given page.
VisitedPagesReturns the total number of currently visited pages.
WantCloseButtonDefines whether the Close button is visible on the tool bar.
WantHelpButtonDefines whether the Help button is visible on the tool bar.
WantPageSetupButtonDefines whether the Page Setup button is enabled.
WantPrintDialogDefines whether the Print Dialog is shown or whether printing starts immediately when the tool bar Print button is clicked.
WebLicenseDefines the license information for use on one web site.
ZoomRedefines the preview layout.
ZoomFactorDefines the page zoom factor (in percent).
ZoomInRedefines the preview location (zooming in or out).
ZoomIncrDecrDefines the zoom factor increment/decrement.
ZoomResetRestores a multi-page preview.
ZoomStyleDefines the mouse button behavior.

See Also Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.