Platforms to show: All Mac Windows Linux Cross-Platform

Back to CGPDFObjectMBS class.

CGPDFObjectMBS.ArrayValue(byref value as CGPDFArrayMBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreGraphics MBS MacCG Plugin 4.2 ✅ Yes ❌ No ❌ No ✅ Yes All
If the object contains a pdf array, this function will return it.

Returns true on success and false on failure.

CGPDFObjectMBS.BooleanValue(byref value as boolean) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreGraphics MBS MacCG Plugin 4.2 ✅ Yes ❌ No ❌ No ✅ Yes All
If the object contains a boolean, this function will return it.

Returns true on success and false on failure.

CGPDFObjectMBS.DictionaryValue(byref value as CGPDFDictionaryMBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreGraphics MBS MacCG Plugin 4.2 ✅ Yes ❌ No ❌ No ✅ Yes All
If the object contains a pdf dictionary, this function will return it.

Returns true on success and false on failure.

CGPDFObjectMBS.IntegerValue(byref value as Integer) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreGraphics MBS MacCG Plugin 4.2 ✅ Yes ❌ No ❌ No ✅ Yes All
If the object contains an integer, this function will return it.

Returns true on success and false on failure.
Is function will return double and integer values. Conversion is done automatically.

CGPDFObjectMBS.NameValue(byref value as string) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreGraphics MBS MacCG Plugin 4.2 ✅ Yes ❌ No ❌ No ✅ Yes All
If the object contains a name string, this function will return it.

Returns true on success and false on failure.

CGPDFObjectMBS.SingleValue(byref value as Double) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreGraphics MBS MacCG Plugin 4.2 ✅ Yes ❌ No ❌ No ✅ Yes All
If the object contains a floating point number, this function will return it.

Returns true on success and false on failure.
Is function will return double and integer values. Conversion is done automatically.

CGPDFObjectMBS.StreamValue(byref value as CGPDFStreamMBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreGraphics MBS MacCG Plugin 4.2 ✅ Yes ❌ No ❌ No ✅ Yes All
If the object contains a pdf stream, this function will return it.

Returns true on success and false on failure.

CGPDFObjectMBS.StringValue(byref value as CGPDFStringMBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreGraphics MBS MacCG Plugin 4.2 ✅ Yes ❌ No ❌ No ✅ Yes All
If the object contains a pdfstring, this function will return it.

Returns true on success and false on failure.

CGPDFObjectMBS.Type as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreGraphics MBS MacCG Plugin 4.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the type of the object content.

Some useful constants:

kCGPDFObjectTypeNull = 1
kCGPDFObjectTypeBoolean = 2
kCGPDFObjectTypeInteger = 3
kCGPDFObjectTypeReal = 4
kCGPDFObjectTypeName = 5
kCGPDFObjectTypeString = 6
kCGPDFObjectTypeArray = 7
kCGPDFObjectTypeDictionary = 8
kCGPDFObjectTypeStream = 9

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


The biggest plugin in space...