14using System.Runtime.InteropServices;
17 private Object locker =
new Object();
18 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
23 swigCPtr =
new HandleRef(
this, cPtr);
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
36 global::System.GC.SuppressFinalize(
this);
39 protected virtual void Dispose(
bool disposing) {
41 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
46 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
51 private static UInt32[] UnMarshalPalette(IntPtr p)
55 UInt32[] res =
new UInt32[256];
56 for (
int i = 0; i < 256; ++i)
58 res[i] = (UInt32)Marshal.ReadInt32(p, i * 4);
62 private static IntPtr MarshalPalette(UInt32[] p)
67 throw new Exception(
"MarshalPalette: palette size must be 256");
68 IntPtr res = Marshal.AllocCoTaskMem(256 * 4);
69 for (
int i = 0; i < 256; ++i)
71 Marshal.WriteInt32(res, i * 4, (Int32)p[i]);
84 IntPtr p = MarshalPalette(
value);
86 Marshal.FreeCoTaskMem(p);
193 MemoryManager mMan = MemoryManager.GetMemoryManager();
194 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
static global::System.Exception Retrieve()
static IntPtr PDFExportParams_getPalette(HandleRef jarg1)
static int PDFExportParams_solidHatchesExportType(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFExportParams_setUseViewExtents(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static global::System.IntPtr PDFExportParams_layouts__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFExportParams_setSearchableTextInRenderedViews(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static String PDFExportParams_producer(global::System.Runtime.InteropServices.HandleRef jarg1)
static String PDFExportParams_ownerPassword(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFExportParams_setOwnerPassword(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static bool PDFExportParams_hasPrcBrepCompression(global::System.Runtime.InteropServices.HandleRef jarg1, out PRCCompressionLevel jarg2)
static void PDFExportParams_setParallelDisplay(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void PDFExportParams_setGeomDPI(global::System.Runtime.InteropServices.HandleRef jarg1, UInt16 jarg2)
static void delete_PDFExportParams(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFExportParams_setShadedVpExportMode(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void PDFExportParams_setUsePdfBlocks(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void PDFExportParams_setSolidHatchesExportType(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool PDFExportParams_useViewExtents(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFExportParams_setProducer(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static UInt16 PDFExportParams_colorImagesDPI(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFExportParams_addLayout(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static IntPtr PDFExportParams_output(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFExportParams_setSearchableTextAsHiddenText(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static UInt32 PDFExportParams_background(global::System.Runtime.InteropServices.HandleRef jarg1)
static int PDFExportParams_gradientHatchesExportType(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFExportParams_clearMultipleDbSettings(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFExportParams_setOutput(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void PDFExportParams_setColorPolicy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void PDFExportParams_setPRCCompression(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, bool jarg3, bool jarg4)
static void PDFExportParams_setKeywords(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static void PDFExportParams_addWatermark(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static UInt16 PDFExportParams_bwImagesDPI(global::System.Runtime.InteropServices.HandleRef jarg1)
static int PDFExportParams_otherHatchesExportType(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt16 PDFExportParams_dctQuality(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool PDFExportParams_hasPrcTessellationCompression(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 PDFExportParams_getPrcBackground(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFExportParams_setSubject(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static IntPtr PDFExportParams_database(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFExportParams_clearPrcBackground(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool PDFExportParams_isUsePdfBlocks(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFExportParams_setParallelVectorization(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static UInt16 PDFExportParams_hatchDPI(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFExportParams_setUpscaleImages(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static global::System.IntPtr PDFExportParams_watermarks(global::System.Runtime.InteropServices.HandleRef jarg1)
static int PDFExportParams_shadedVpExportMode(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFExportParams_setAccessPermissionFlags(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void PDFExportParams_setTitle(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static String PDFExportParams_author(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFExportParams_setHatchDPI(global::System.Runtime.InteropServices.HandleRef jarg1, UInt16 jarg2)
static void PDFExportParams_setExport2XObject(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static int PDFExportParams_getPrcRenderingMode(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFExportParams_m_reserved1_set(global::System.Runtime.InteropServices.HandleRef jarg1, UInt16 jarg2)
static void PDFExportParams_setBWImagesDPI(global::System.Runtime.InteropServices.HandleRef jarg1, UInt16 jarg2)
static String PDFExportParams_keywords(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFExportParams_setVersion(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void PDFExportParams_setUserPassword(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static void PDFExportParams_setColorImagesDPI(global::System.Runtime.InteropServices.HandleRef jarg1, UInt16 jarg2)
static void PDFExportParams_setForceDisableGsDevice(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static int PDFExportParams_searchableTextType(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFExportParams_setArchived(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static int PDFExportParams_getPRCMode(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFExportParams_setSearchableTextType(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static String PDFExportParams_creator(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFExportParams_setBackground(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static void PDFExportParams_setPRCMode(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void PDFExportParams_setAuthor(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static void PDFExportParams_setPRCContext(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static bool PDFExportParams_dctCompression(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFExportParams_setLayouts__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void PDFExportParams_setGradientHatchesExportType(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void PDFExportParams_m_reserved4_set(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static void PDFExportParams_setPrcBackground(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static bool PDFExportParams_transparentShadedVpBg(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFExportParams_setDCTQuality(global::System.Runtime.InteropServices.HandleRef jarg1, UInt16 jarg2)
static String PDFExportParams_title(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFExportParams_setPalette(HandleRef jarg1, IntPtr jarg2)
static void PDFExportParams_setExportReactor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool PDFExportParams_hasPrcBackground(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool PDFExportParams_isParallelVectorization(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr PDFExportParams_getPRCContext__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFExportParams_setLayouts__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static UInt32 PDFExportParams_m_reserved4_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool PDFExportParams_searchableTextInRenderedViews(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt16 PDFExportParams_m_reserved1_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr PDFExportParams_pageParams(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFExportParams_setExportFlags(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool PDFExportParams_upscaleImages(global::System.Runtime.InteropServices.HandleRef jarg1)
static int PDFExportParams_version(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFExportParams_setPrcRenderingMode(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void PDFExportParams_clearWatermarks(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool PDFExportParams_forceDisableGsDevice(global::System.Runtime.InteropServices.HandleRef jarg1)
static int PDFExportParams_exportFlags(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr PDFExportParams_databases__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static String PDFExportParams_subject(global::System.Runtime.InteropServices.HandleRef jarg1)
static int PDFExportParams_archived(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFExportParams_setDCTCompression(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static UInt16 PDFExportParams_getGeomDPI(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool PDFExportParams_export2XObject(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFExportParams_setDatabase(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void PDFExportParams_setOtherHatchesExportType(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void PDFExportParams_setUseGsCache(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static String PDFExportParams_userPassword(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFExportParams_setCreator(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static bool PDFExportParams_isSHXTextAsGeometry(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFExportParams_setPageParams(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr PDFExportParams_exportReactor(global::System.Runtime.InteropServices.HandleRef jarg1)
static int PDFExportParams_colorPolicy(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFExportParams_setImageCropping(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool PDFExportParams_imageCropping(global::System.Runtime.InteropServices.HandleRef jarg1)
static int PDFExportParams_accessPermissionFlags(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFExportParams_setTransparentShadedVpBg(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool PDFExportParams_useGsCache(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool PDFExportParams_isParallelDisplay(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool PDFExportParams_searchableTextAsHiddenText(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool PDFExportParams_isTTFTextAsGeometry(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGsPageParamsArray obj)
static HandleRef getCPtr(OdRxObject obj)
static HandleRef getCPtr(OdRxObjectPtrArray obj)
static HandleRef getCPtr(OdStreamBuf obj)
static HandleRef getCPtr(OdStringArray obj)
void setExport2XObject(bool bEnable)
PRCRenderingMode getPrcRenderingMode()
void setUseGsCache(bool bEnable)
void setSearchableTextAsHiddenText(bool bOn)
void setArchived(PDFExportParams.PDF_A_mode mode)
void setDCTCompression(bool bEnable)
OdPrcContextForPdfExport getPRCContext()
PDFExportParams.PDF_A_mode archived()
void setSearchableTextInRenderedViews(bool bOn)
void setBWImagesDPI(UInt16 dpi)
void setTransparentShadedVpBg(bool bEnable)
bool hasPrcTessellationCompression()
void setParallelVectorization(bool bOn)
void setPageParams(OdGsPageParamsArray pageParams)
bool searchableTextInRenderedViews()
void setGradientHatchesExportType(PDFExportParams.ExportHatchesType type)
void setLayouts(OdStringArray layouts, OdRxObjectPtrArray pDbArray)
void setSolidHatchesExportType(PDFExportParams.ExportHatchesType type)
bool transparentShadedVpBg()
void setAuthor(String sAuthor)
bool forceDisableGsDevice()
void setKeywords(String sKeywords)
void setColorImagesDPI(UInt16 dpi)
void setVersion(PDFExportParams.PDFExportVersions version)
void setExportFlags(PDFExportParams.PDFExportFlags flags)
void setOwnerPassword(String sOwnerPassword)
void setGeomDPI(UInt16 dpi)
OdRxObjectPtrArray databases()
void setOutput(OdStreamBuf output)
PDFExportParams(IntPtr cPtr, bool cMemoryOwn)
@ kSimpleGeomOptimization
void setDatabase(OdRxObject pDb)
void setPRCContext(OdRxObject pContext)
void setUpscaleImages(bool bEnable)
void setImageCropping(bool bEnable)
WatermarkArray watermarks()
UInt32 getPrcBackground()
PDFExportParams.ExportHatchesType solidHatchesExportType()
void setParallelDisplay(bool bOn)
PDFExportParams.PDFAccessPermissionsFlags accessPermissionFlags()
void setUsePdfBlocks(bool bOn)
void setSubject(String sSubject)
bool isParallelVectorization()
void setPRCCompression(PRCCompressionLevel compressionLevel, bool bCompressBrep, bool bCompressTessellation)
void setAccessPermissionFlags(PDFExportParams.PDFAccessPermissionsFlags flags)
PDFExportParams.PDFExportVersions version()
bool isSHXTextAsGeometry()
void setUserPassword(String sUserPassword)
void setColorPolicy(PDFExportParams.ColorPolicy policy)
void setBackground(UInt32 background)
void setLayouts(OdStringArray layouts)
PdfExportReactor exportReactor()
bool hasPrcBrepCompression(out PRCCompressionLevel compressionLev)
PDFExportParams.PDFExportFlags exportFlags()
void addWatermark(Watermark wm)
PDFShadedViewportExportMode
bool isTTFTextAsGeometry()
PDFExportParams.SearchableTextType searchableTextType()
void setUseViewExtents(bool bViewExtents)
void clearMultipleDbSettings()
void setPrcBackground(UInt32 bacgr)
void setDCTQuality(UInt16 quality)
void setCreator(String sCreator)
void setSearchableTextType(PDFExportParams.SearchableTextType type)
void setPrcRenderingMode(PRCRenderingMode renderMode)
void clearPrcBackground()
static HandleRef getCPtr(PDFExportParams obj)
void setHatchDPI(UInt16 dpi)
void setProducer(String sProducer)
void setTitle(String sTitle)
PDFAccessPermissionsFlags
bool searchableTextAsHiddenText()
OdGsPageParamsArray pageParams()
void setPRCMode(PDFExportParams.PRCSupport flags)
PDFExportParams.ExportHatchesType gradientHatchesExportType()
void setShadedVpExportMode(PDFExportParams.PDFShadedViewportExportMode mode)
void setForceDisableGsDevice(bool bDisable)
PDFExportParams.PDFShadedViewportExportMode shadedVpExportMode()
PDFExportParams.ExportHatchesType otherHatchesExportType()
void setOtherHatchesExportType(PDFExportParams.ExportHatchesType type)
virtual void Dispose(bool disposing)
PDFExportParams.PRCSupport getPRCMode()
PDFExportParams.ColorPolicy colorPolicy()
void setExportReactor(PdfExportReactor reactor)
static HandleRef getCPtr(PdfExportReactor obj)
static HandleRef getCPtr(Watermark obj)