Skip to content

Printer

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

Table of Contents

Definition

Namespace: My.Sys.ComponentModel

Printer - Enables you to communicate with a system printer (initially the default printer).

Properties

Name Description
Canvas
ColorMode
Designer
DesignMode Gets a value that indicates whether the Component is currently in design mode.
DriveVersion
ExtraMargins Returns/sets the extra space between controls.
FontSize
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.
Margins Returns/sets the space between controls.
Name Returns the name used in code to identify an object.
Parent Gets or sets the parent container of the control.
Scale
ScaleFactorX
ScaleFactorY
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.
Width Returns/sets the width of an object.

Methods

Name Description
ClassAncestor Returns ancestor class of control.
ClassName
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
newFont
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

See also

Clone this wiki locally