Skip to content

PageSetupDialog

Xusinboy Bekchanov edited this page Nov 5, 2023 · 5 revisions

Table of Contents

Definition

Namespace:

PageSetupDialog - Enables users to change page-related print settings, including margins and paper orientation.

Properties

Name Description
BottomMargin
Caption
Designer
DesignMode Gets a value that indicates whether the Component is currently in design mode.
ExtraMargins Returns/sets the extra space between controls.
Handle Gets the window handle that the control is bound to.
Height Returns/sets the height of an object.
LayoutHandle
Left Returns/sets the distance between the internal left edge of an object and the left edge of its container.
LeftMargin
Margins Returns/sets the space between controls.
Metric
MinBottomMargin
MinLeftMargin
MinRightMargin
MinTopMargin
Name Returns the name used in code to identify an object.
PaperHeight
PaperWidth
Parent Gets or sets the parent container of the control.
PrinterName Declare Property Left() As Integer Declare Property Left(value As Integer)
RightMargin
Tag Stores any extra data needed for your program.
Top Returns/sets the distance between the internal top edge of an object and the top edge of its container.
TopMargin
Width Returns/sets the width of an object.

Methods

Name Description
ClassAncestor Returns ancestor class of control.
ClassName
Execute
FullTypeName Function to get any typename in the inheritance up hierarchy of the type of an instance (address: 'po') compatible with the built-in 'Object' ('baseIndex = 0' to get the typename of the instance) ('baseIndex = -1' to get the base.typename of the instance, or "" if not existing) ('baseIndex = -2' to get the base.base.typename of the instance, or "" if not existing)
GetBounds Gets the bounds of the control to the specified location and size.
GetTopLevel Determines if the control is a top-level control.
IsEmpty
ReadProperty
SetBounds Sets the bounds of the control to the specified location and size.
ToString Returns a string that represents the current object.
WriteProperty

Events

Name Description
Clone this wiki locally