Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

CPMPageFormatMBS.AdjustedPageSize as CPMRectMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Printing MBS MacCG Plugin 2.7 Yes No No No No
Function: The adjusted page size.
Notes: Lasterror is set.

Feedback, Comments & Corrections

CPMPageFormatMBS.AdjustedPaperSize as CPMRectMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Printing MBS MacCG Plugin 2.7 Yes No No No No
Function: The adjusted page size.
Notes: Lasterror is set.

Feedback, Comments & Corrections

CPMPageFormatMBS.Constructor
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Printing MBS MacCG Plugin 9.3 Yes No No No No
Function: Creates a new page format object.

Feedback, Comments & Corrections

CPMPageFormatMBS.CopySettings(Destination as CPMPageFormatMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Printing MBS MacCG Plugin 2.7 Yes No No No No
Function: Copies the settings to another pageformat object.

Feedback, Comments & Corrections

CPMPageFormatMBS.CreateDataRepresentation(Format as Integer = 0) as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Printing MBS MacCG Plugin 15.1 Yes No No No No
Function: Returns a data representation of a PMPageFormat object as a data string.
Example:
dim p as new CPMPageFormatMBS
p.orientation = p.kPMLandscape
dim d as string = p.CreateDataRepresentation
break // check in debugger
Notes:
Use CreateWithDataRepresentation to create a CPMPageFormatMBS from a string created by this call.
Format can be kPMDataFormatXMLDefault, kPMDataFormatXMLMinimal or kPMDataFormatXMLCompressed.

Feedback, Comments & Corrections

CPMPageFormatMBS.Orientation as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Printing MBS MacCG Plugin 2.7 Yes No No No No
Function: The page orientation.
Example:
dim p as new CPMPageFormatMBS
p.orientation = p.kPMLandscape
Notes:
Lasterror is set.

Possible values:
kPMPortrait1
kPMLandscape2
kPMReversePortrait3will revert to kPortrait for current drivers
kPMReverseLandscape4will revert to kLandscape for current drivers
(Read and Write computed property)

Feedback, Comments & Corrections

CPMPageFormatMBS.PrinterID as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Printing MBS MacCG Plugin 15.1 Yes No No No No
Function: Obtains the formatting printer for the pageformat.
Notes: Will either return the formatting printer for the pageformat or will return nil if the pageformat doesn't have that information.

Feedback, Comments & Corrections

CPMPageFormatMBS.Scale as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Printing MBS MacCG Plugin 2.7 Yes No No No No
Function: The page scaling.
Notes:
Lasterror is set.
Value is 100 for 100%.
(Read and Write computed property)

Feedback, Comments & Corrections

CPMPageFormatMBS.UnadjustedPageSize as CPMRectMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Printing MBS MacCG Plugin 2.7 Yes No No No No
Function: The unadjusted page size.
Notes: Lasterror is set.

Feedback, Comments & Corrections

CPMPageFormatMBS.UnadjustedPaperSize as CPMRectMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Printing MBS MacCG Plugin 2.7 Yes No No No No
Function: The unadjusted page size.
Notes: Lasterror is set.

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS MacCG Plugin.




Links
MBS Xojo tutorial videos