ExPrint object
The Exontrol ExPrint component is an advanced printing system specifically to bring your User Interface to the printed page. The ExPrint adds powerful print and preview capabilities to your forms, dialog boxes or other windows. The ExPrint component provides Print and Print Preview features for components like: eXGantt, eXG2antt, eXMLGrid, eXGrid, eXTree, eXList, eXCalendar, eXComboBox, eXPropertiesList, eXEdit, eXFileView, eXOrgChart, eXSchedule, eXPivot and so on. The ExPrint component provides the ability to print the entire document or user selected area. Here's the list of supported properties and methods.

NameDescription
AsScreenSpecifies whether the control creates the page's preview as it would be displayed on the screen.
AttachTemplateAttaches a script to the current object, including the events, from a string, file, a safe array of bytes.
AutoReleaseSpecifies whether the print object is released automatically.
CaptionSpecifies the document's caption.
CaptionAlignmentSpecifies the alignment of document's alignment.
CaptionPositionSpecifies the position of document's caption.
ClientHeightRetrieves the height in pixels, of the drawing area of the printer page.
ClientWidthRetrieves the width in pixels, of the drawing area of the printer page.
CopyToCopies the pages to EMF files.
DebugDisplays debug information.
Decode64TextDecodes the giving string, from base64 format (compressed).
Decode64TextADecodes ( and decompress ) the giving string, from base64 format to ANSI string.
Decode64TextWDecodes ( and decompress ) the giving string, from base64 format to UNICODE string.
DoPrintPrints the document.
Encode64Encodes and compress the picture/file to a BASE64 encoded string.
Encode64IconsEncodes and compress a list of icons to a BASE64 encoded string.
Encode64TextEncodes and compress the giving string, to base64 format.
Encode64TextAEncodes (ANSI) and compress the giving string, to base64 format.
Encode64TextWEncodes (UNICODE) and compress the giving string, to base64 format.
ExecuteTemplateExecutes a template and returns the result.
ExtraCaptionAdds or removes an additional caption.
FontRetrieves or sets the control's font.
ForegroundBrings the Preview window on the foreground and activates it.
FormatABCFormats the A,B,C values based on the giving expression and returns the result.
HTMLPictureAdds or replaces a picture in HTML captions.
hWndRetrieves the handle of the print preview main frame.
ImagesSets at runtime the print's image list. The Handle should be a handle to an Image List Control.
ImageSizeRetrieves or sets the size of icons the control displays.
ItemCaptionSpecifies a value that indicates the caption for specified item.
ItemToolTipSpecifies a value that indicates the tooltip for specified item.
OptionsSpecifies the document's options.
PageFrameColorSpecifies the color of frame to be shown on printed pages.
PageFrameStyleSpecifies the style of frame to be shown on printed pages.
PageNumberFormatSpecifies the format to display the number of page.
PageNumbersAlignmentSpecifies the alignment of page numbers in the document.
PageNumbersPositionSpecifies the position of page numbers in the document.
PageOrientationSpecifies the default page's orientation.
PageRangeSpecifies the pages being printed.
PagesCountReturns the number of pages.
PreviewInvokes the print preview main frame.
PreviewSettingsSets or gets a value that defines a setting for preview mode.
PreviewStateReturns or sets the visual state of preview mainframe at runtime.
PrintersRetrieves a list of installed printers.
PrintExtSpecifies an object that implements the IPrintExt interface.
PrintExtsSpecifies a collection of objects that implement the IPrintExt interface.
RefreshRefreshes the print preview.
ReplaceIconAdds a new icon, replaces an icon or clears the print's image list.
RuntimeKeySpecifies a runtime key to be used for the component.
SettingsSets or gets a value that indicates the value for specified field.
ShowMarginsRetrieves or sets a value that specifies whether the page displays its margins so the user can resize the margins of the page at runtime.
ShowPageNumbersSpecifies whether the page numbers are shown or hidden.
StartPageNumberSpecifies the number to start page numbering.
TemplateSpecifies the control's template.
TemplateDefDefines inside variables for the next Template/ExecuteTemplate call.
TemplatePutDefines inside variables for the next Template/ExecuteTemplate call.
ToolBarFontRetrieves or sets the toolbar's font.
ToolBarFormatSpecifies the CRD format to arrange the buttons inside the print's toolbar.
UILimitPagesCountSpecifies the limit of pages the control can load before a message box to continue shows up.
UILimitPagesCountMessageSpecifies the continue message to show up, when the limit of pages has been reached.
VersionRetrieves the control's version.