ImageGear .NET - Updated
CacheDevice Field




ImageGear24.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > ImGearPDEContentAttrs Class : CacheDevice Field
Six cache device values contain the operands for the d1 (setcachdevice) page operator or 2 charwidth values.
Syntax
'Declaration
 
<MarshalAsAttribute(UnmanagedType.Bool Or  _
    UnmanagedType.U1 Or  _
    UnmanagedType.U2 Or  _
    UnmanagedType.U4 Or  _
    UnmanagedType.U8 Or  _
    UnmanagedType.R8 Or  _
    UnmanagedType.LPStr Or  _
    UnmanagedType.LPTStr Or  _
    UnmanagedType.IDispatch Or  _
    UnmanagedType.Interface Or  _
    UnmanagedType.ByValArray)>
Public CacheDevice As Integer()
'Usage
 
Dim instance As ImGearPDEContentAttrs
Dim value() As Integer
 
value = instance.CacheDevice
 
instance.CacheDevice = value
[MarshalAs(UnmanagedType.Bool | 
    UnmanagedType.U1 | 
    UnmanagedType.U2 | 
    UnmanagedType.U4 | 
    UnmanagedType.U8 | 
    UnmanagedType.R8 | 
    UnmanagedType.LPStr | 
    UnmanagedType.LPTStr | 
    UnmanagedType.IDispatch | 
    UnmanagedType.Interface | 
    UnmanagedType.ByValArray)]
public int[] CacheDevice
[MarshalAs(UnmanagedType.Bool | 
    UnmanagedType.U1 | 
    UnmanagedType.U2 | 
    UnmanagedType.U4 | 
    UnmanagedType.U8 | 
    UnmanagedType.R8 | 
    UnmanagedType.LPStr | 
    UnmanagedType.LPTStr | 
    UnmanagedType.IDispatch | 
    UnmanagedType.Interface | 
    UnmanagedType.ByValArray)]
public: int[]* CacheDevice
[MarshalAs(UnmanagedType.Bool | 
    UnmanagedType.U1 | 
    UnmanagedType.U2 | 
    UnmanagedType.U4 | 
    UnmanagedType.U8 | 
    UnmanagedType.R8 | 
    UnmanagedType.LPStr | 
    UnmanagedType.LPTStr | 
    UnmanagedType.IDispatch | 
    UnmanagedType.Interface | 
    UnmanagedType.ByValArray)]
public:
array<int>^ CacheDevice

Field Value

Array of integer values.
Remarks
If flags has SET_CACHE_DEVICE set, the first 6 cache device values contain the operands for the d1 (setcachdevice) page operator. If flags has SET_CHAR_WIDTH set, cacheDevice contains 2 charwidth values. The default value is {0, 0, 0, 0, 0, 0, 0, 0}.
See Also

Reference

ImGearPDEContentAttrs Class
ImGearPDEContentAttrs Members