Platforms to show: All Mac Windows Linux Cross-Platform

Back to CPMPageFormatMBS class.

CPMPageFormatMBS.CreateWithDataRepresentation(Data as String) as CPMPageFormatMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Printing MBS MacCG Plugin 15.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Creates a PMPageFormat object from a data representation created with CreateDataRepresentation.
Example
dim p as new CPMPageFormatMBS
p.orientation = p.kPMLandscape
dim d as string = p.CreateDataRepresentation

dim other as CPMPageFormatMBS = CPMPageFormatMBS.CreateWithDataRepresentation(d)
MsgBox str(other.Orientation)

Returns nil in case of error.

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


The biggest plugin in space...