SftPrintPreview/OCX 1.0

SftPrintPreview Object (ISftPrintPreview Interface)

Softel vdm, Inc.

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

Property/Method

Description

_FlatProperties

Defines whether properties are stored as a flat list in a property bag.

_Version

Returns the product's exact version.

AboutBox

Displays product, contact and copyright information.

BackColor

Defines the background color used.

BottomMargin

Defines the height of the bottom margin.

ContentProvider

Defines the control that provides printable content.

ContentProviderCallback

Defines the callback that provides printable content.

ContentProviderCallbackX

Defines the callback that provides printable content.

ContentSizing

Defines the resizing method used to fit the contents within the page.

CurrentPage

Defines the current page displayed in zoomed mode.

CustomCode

Defines optional product customization.

DataProvider

Defines the control that provides the data for printable content (used by ContentProvider window).

DefaultPrinter

Returns the name of the default printer.

Direct

Returns an ISftPrintPreviewVTable interface pointer.

Enabled

Defines whether control responds to user-generated events.

FirstPage

Defines the first page displayed in multipage mode.

Font

Defines the default font used.

FooterCenter

Defines the centered portion of the page footer.

FooterFont

Defines the font used for page footers.

FooterLeft

Defines the left-adjusted portion of the page footer.

FooterMargin

Defines the distance between the bottom paper edge and the footer.

FooterRight

Defines the right-adjusted portion of the page footer.

ForeColor

Defines the default text color used.

GetCurrentPrinter

Retrieves the current printer settings.

GetDDBSize

Retrieves the display and print size of a device dependent bitmap.

GetDeviceInfo

Returns DEVMODE and DEVNAMES handles for the currently defined printer.

GetInfo

Returns information about the control and its environment.

GetPageArea

Returns the area of the displayed page (in pixels).

GutterMargin

Defines the additional margin added alternating between front and back pages.

GutterPosition

Defines the location of the gutter margin.

HeaderCenter

Defines the centered portion of the page header.

HeaderFont

Defines the font used for page headers.

HeaderLeft

Defines the left-adjusted portion of the page header.

HeaderMargin

Defines the distance between the top paper edge and the header.

HeaderRight

Defines the right-adjusted portion of the page header.

HitTest

Determines the area at a given location.

HitTestPix

Determines the area at a given location.

hWnd

Returns the control's window handle.

Info

Returns information about the control and its environment.

LeftMargin

Defines the width of the left margin.

License

Returns the product's license number.

LineAboveFooter

Defines whether a line is drawn above the footer.

LineBelowHeader

Defines whether a line is drawn below the header.

MarginPages

Defines the width of the distance between pages.

MarginRows

Defines the height of the distance between page rows.

MaxPageGroups

Defines the maximum number of pages per row selectable using the tool bar.

MaxPageRows

Defines the maximum number of page rows selectable using the tool bar.

MaxZoom

Defines the maximum user-selectable page zoom factor (in percent).

MirrorMargins

Defines whether the margins and headers/footers are reversed on back pages.

MouseIcon

Defines a custom mouse icon.

MouseIconH

Defines a custom mouse icon.

MousePointer

Defines the mouse pointer used.

OLEDrag

Initiates an OLE drag & drop operation.

OLEDragMode

Defines OLE drag support.

OLEDropMode

Defines OLE drop support.

OutputName

Defines the name of the output that will be sent to the print queue.

PageGapColor

Defines the color used between paired pages.

PageGapSize

Defines the width/height of the area between paired pages.

PageGroups

Defines the number of pages per row.

PageRows

Defines the number of page rows displayed.

PageSetup

Invokes the Page Setup dialog.

PairPages

Pair front and back of previewed pages, even if printer duplexing has not been enabled.

PaperColor

Defines the paper color used.

PrintContents

Start printing.

PrintDDB

Displays/prints a device dependent bitmap.

Printer

Returns the SftPrintPreviewPrinter object describing the current printer.

PrinterSetup

Invokes the Print Setup dialog.

PrintPages

Defines the pages to print using the PrintContents method.

Refresh

Forces an immediate repaint of the control.

RenderingInfo

Returns the information required for the page rendering event RenderContent.

RenderingWorkArea

Returns the workarea for the page rendering event RenderContent.

RenderRichEdit

Returns a function that implements RichEdit control rendering.

RenderRichEditX

Returns a function that implements RichEdit control rendering.

Restart

Forces the repositioning of all preview pages and clearing of any cached information.

RightMargin

Defines the width of the right margin.

RightToLeft

Defines the display direction and visual appearance on a bidirectional system.

Scrollbars

Defines whether scrollbars are available.

SelectedColor

Defines the color used to outline the currently selected page.

SetCurrentPrinter

Changes the current printer and printer settings.

SetDefaultPrinter

Makes the Windows default printer the current printer.

SetDeviceInfo

Sets DEVMODE and DEVNAMES handles for the currently defined printer.

SetDeviceInfo2

Sets DEVMODE and DEVNAMES handles for the currently defined printer.

ShadowColor

Defines the shadow color used.

ShadowSize

Defines the width and height of shadow lines (in pixels).

Toolbar

Defines whether the tool bar is displayed.

ToolbarColor

Defines the tool bar background color used.

ToolBarEdit

Sets the input focus to a control on the built-in tool bar for editing by the user.

TopMargin

Defines the height of the top margin.

TotalPages

Returns the total number of pages.

Units

Defines the units used for measurements (inches or centimeters).

UseThemes

Defines whether Windows themes are used (Windows XP and up).

Version

Returns the product's exact version.

VisitedPageInfo

Returns saved page information for a given page.

VisitedPages

Returns the total number of currently visited pages.

WantCloseButton

Defines whether the Close button is visible on the tool bar.

WantHelpButton

Defines whether the Help button is visible on the tool bar.

WantPageSetupButton

Defines whether the Page Setup button is enabled.

WantPrintDialog

Defines whether the Print Dialog is shown or whether printing starts immediately when the tool bar Print button is clicked.

WebLicense

Defines the license information for use on one web site.

Zoom

Redefines the preview layout.

ZoomFactor

Defines the page zoom factor (in percent).

ZoomIn

Redefines the preview location (zooming in or out).

ZoomIncrDecr

Defines the zoom factor increment/decrement.

ZoomReset

Restores a multi-page preview.

ZoomStyle

Defines the mouse button behavior.

See Also  Object Hierarchy


Feedback / comments / error reports for this topic
© 2004 - Softel vdm, Inc. - www.windowscontrols.com