Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

CPMPageFormatMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Printing MBS MacCG Plugin 2.7 Yes No No Yes, macOS only No
Function: A class for a page format.

Feedback, Comments & Corrections

Data Formats

Constant Value Description
kPMDataFormatXMLCompressed 2 kPMDataFormatXMLCompressed is only compatible and usable with Mac OS X version 10.5 and later. Data in this format can be only be reconsistuted into the equivalent printing manager object with the appropriate PMXXXCreateWithDataRepresentation function. The data representation produced when using kPMDataFormatXMLCompressed is approximately 20 times smaller than kPMDataFormatXMLDefault. This format is a good choice when execution on versions of Mac OS X prior to 10.5 is not necessary and the minimum data size is important.
kPMDataFormatXMLDefault 0 Specifies a data format that is compatible with all Mac OS X versions. Data in this format can be used with the PMUnflattenXXX routines present in all versions of Mac OS X prior to 10.5. However, this data representation is much larger than the more modern data representations described below.
kPMDataFormatXMLMinimal 1 XMLMinimal is only compatible and usable with Mac OS X version 10.5 and later. Data in this format can be only be reconsistuted into the equivalent printing manager object with the appropriate CreateWithDataRepresentation function. The data representation produced when using kPMDataFormatXMLMinimal is approximately 3-5 times smaller than kPMDataFormatXMLDefault. This format is a good choice when execution on versions of Mac OS X prior to 10.5 is not necessary and an uncompressed XML representation of the data is needed.

Orientation Constants

Constant Value Description
kPMLandscape 2 Landscape
kPMPortrait 1 Portrait
kPMReverseLandscape 4 Reverse Landscape
kPMReversePortrait 3 Reverse Portrait

This class has no sub classes.

Some useful global functions for this class:

Some methods using this class:

Some examples which use this class:


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


CPMLanguageInfoMBS   -   CPMPrinterMBS




Links
MBS FileMaker blog