@@ -1324,19 +1324,19 @@ export class CadLoadOptions extends LoadOptions {
13241324 */
13251325 public static attributeTypeMap : Array < { name : string , baseName : string , type : string } > = [
13261326 {
1327- name : "width " ,
1328- baseName : "width " ,
1329- type : "number " ,
1327+ name : "layoutNames " ,
1328+ baseName : "layoutNames " ,
1329+ type : "Array<string> " ,
13301330 } ,
13311331 {
1332- name : "height " ,
1333- baseName : "height " ,
1334- type : "number " ,
1332+ name : "backgroundColor " ,
1333+ baseName : "backgroundColor " ,
1334+ type : "string " ,
13351335 } ,
13361336 {
1337- name : "layoutNames " ,
1338- baseName : "layoutNames " ,
1339- type : "Array<string> " ,
1337+ name : "drawType " ,
1338+ baseName : "drawType " ,
1339+ type : "CadLoadOptions.DrawTypeEnum " ,
13401340 } ] ;
13411341
13421342 /**
@@ -1347,26 +1347,35 @@ export class CadLoadOptions extends LoadOptions {
13471347 }
13481348
13491349 /**
1350- * Set desired page width for converting CAD document
1350+ * Render specific CAD layouts
13511351 */
1352- public width : number ;
1352+ public layoutNames : Array < string > ;
13531353
13541354 /**
1355- * Set desired page height for converting CAD document
1355+ * Gets or sets a background color.
13561356 */
1357- public height : number ;
1357+ public backgroundColor : string ;
13581358
13591359 /**
1360- * Render specific CAD layouts
1360+ * Gets or sets type of drawing.
13611361 */
1362- public layoutNames : Array < string > ;
1362+ public drawType : CadLoadOptions . DrawTypeEnum ;
13631363
13641364 public constructor ( init ?: Partial < CadLoadOptions > ) {
13651365 super ( init ) ;
13661366 Object . assign ( this , init ) ;
13671367 }
13681368}
13691369
1370+ // tslint:disable:quotemark
1371+ // tslint:disable-next-line:no-namespace
1372+ export namespace CadLoadOptions {
1373+ export enum DrawTypeEnum {
1374+ UseDrawColor = 'UseDrawColor' as any ,
1375+ UseObjectColor = 'UseObjectColor' as any ,
1376+ }
1377+ }
1378+ // tslint:enable:quotemark
13701379/**
13711380 * Diagram document load options
13721381 */
@@ -3264,6 +3273,36 @@ export class BmpLoadOptions extends ImageLoadOptions {
32643273 }
32653274}
32663275
3276+ /**
3277+ * Cf2 load options
3278+ */
3279+ // tslint:disable: completed-docs
3280+ export class Cf2LoadOptions extends CadLoadOptions {
3281+
3282+ /**
3283+ * Attribute type map
3284+ */
3285+ public static attributeTypeMap : Array < { name : string , baseName : string , type : string } > = [
3286+ ] ;
3287+
3288+ /**
3289+ * Returns attribute type map
3290+ */
3291+ public static getAttributeTypeMap ( ) {
3292+ return super . getAttributeTypeMap ( ) . concat ( Cf2LoadOptions . attributeTypeMap ) ;
3293+ }
3294+
3295+ public constructor ( init ?: Partial < Cf2LoadOptions > ) {
3296+ super ( init ) ;
3297+ Object . assign ( this , init ) ;
3298+ }
3299+ }
3300+
3301+ // tslint:disable:quotemark
3302+ // tslint:disable-next-line:no-namespace
3303+ export namespace Cf2LoadOptions {
3304+ }
3305+ // tslint:enable:quotemark
32673306/**
32683307 * Csv document load options
32693308 */
@@ -3428,6 +3467,11 @@ export class DgnLoadOptions extends CadLoadOptions {
34283467 }
34293468}
34303469
3470+ // tslint:disable:quotemark
3471+ // tslint:disable-next-line:no-namespace
3472+ export namespace DgnLoadOptions {
3473+ }
3474+ // tslint:enable:quotemark
34313475/**
34323476 * Djvu convert options
34333477 */
@@ -3868,6 +3912,41 @@ export class DwfLoadOptions extends CadLoadOptions {
38683912 }
38693913}
38703914
3915+ // tslint:disable:quotemark
3916+ // tslint:disable-next-line:no-namespace
3917+ export namespace DwfLoadOptions {
3918+ }
3919+ // tslint:enable:quotemark
3920+ /**
3921+ * Dwfx load options
3922+ */
3923+ // tslint:disable: completed-docs
3924+ export class DwfxLoadOptions extends CadLoadOptions {
3925+
3926+ /**
3927+ * Attribute type map
3928+ */
3929+ public static attributeTypeMap : Array < { name : string , baseName : string , type : string } > = [
3930+ ] ;
3931+
3932+ /**
3933+ * Returns attribute type map
3934+ */
3935+ public static getAttributeTypeMap ( ) {
3936+ return super . getAttributeTypeMap ( ) . concat ( DwfxLoadOptions . attributeTypeMap ) ;
3937+ }
3938+
3939+ public constructor ( init ?: Partial < DwfxLoadOptions > ) {
3940+ super ( init ) ;
3941+ Object . assign ( this , init ) ;
3942+ }
3943+ }
3944+
3945+ // tslint:disable:quotemark
3946+ // tslint:disable-next-line:no-namespace
3947+ export namespace DwfxLoadOptions {
3948+ }
3949+ // tslint:enable:quotemark
38713950/**
38723951 * Dwg load options
38733952 */
@@ -3893,6 +3972,41 @@ export class DwgLoadOptions extends CadLoadOptions {
38933972 }
38943973}
38953974
3975+ // tslint:disable:quotemark
3976+ // tslint:disable-next-line:no-namespace
3977+ export namespace DwgLoadOptions {
3978+ }
3979+ // tslint:enable:quotemark
3980+ /**
3981+ * Dwt load options
3982+ */
3983+ // tslint:disable: completed-docs
3984+ export class DwtLoadOptions extends CadLoadOptions {
3985+
3986+ /**
3987+ * Attribute type map
3988+ */
3989+ public static attributeTypeMap : Array < { name : string , baseName : string , type : string } > = [
3990+ ] ;
3991+
3992+ /**
3993+ * Returns attribute type map
3994+ */
3995+ public static getAttributeTypeMap ( ) {
3996+ return super . getAttributeTypeMap ( ) . concat ( DwtLoadOptions . attributeTypeMap ) ;
3997+ }
3998+
3999+ public constructor ( init ?: Partial < DwtLoadOptions > ) {
4000+ super ( init ) ;
4001+ Object . assign ( this , init ) ;
4002+ }
4003+ }
4004+
4005+ // tslint:disable:quotemark
4006+ // tslint:disable-next-line:no-namespace
4007+ export namespace DwtLoadOptions {
4008+ }
4009+ // tslint:enable:quotemark
38964010/**
38974011 * Dxf load options
38984012 */
@@ -3918,6 +4032,11 @@ export class DxfLoadOptions extends CadLoadOptions {
39184032 }
39194033}
39204034
4035+ // tslint:disable:quotemark
4036+ // tslint:disable-next-line:no-namespace
4037+ export namespace DxfLoadOptions {
4038+ }
4039+ // tslint:enable:quotemark
39214040/**
39224041 * Emf convert options
39234042 */
@@ -4158,6 +4277,11 @@ export class IfcLoadOptions extends CadLoadOptions {
41584277 }
41594278}
41604279
4280+ // tslint:disable:quotemark
4281+ // tslint:disable-next-line:no-namespace
4282+ export namespace IfcLoadOptions {
4283+ }
4284+ // tslint:enable:quotemark
41614285/**
41624286 * Igs load options
41634287 */
@@ -4183,6 +4307,11 @@ export class IgsLoadOptions extends CadLoadOptions {
41834307 }
41844308}
41854309
4310+ // tslint:disable:quotemark
4311+ // tslint:disable-next-line:no-namespace
4312+ export namespace IgsLoadOptions {
4313+ }
4314+ // tslint:enable:quotemark
41864315/**
41874316 * J2c load options
41884317 */
@@ -4912,6 +5041,11 @@ export class PltLoadOptions extends CadLoadOptions {
49125041 }
49135042}
49145043
5044+ // tslint:disable:quotemark
5045+ // tslint:disable-next-line:no-namespace
5046+ export namespace PltLoadOptions {
5047+ }
5048+ // tslint:enable:quotemark
49155049/**
49165050 * Png convert options
49175051 */
@@ -5576,6 +5710,11 @@ export class StlLoadOptions extends CadLoadOptions {
55765710 }
55775711}
55785712
5713+ // tslint:disable:quotemark
5714+ // tslint:disable-next-line:no-namespace
5715+ export namespace StlLoadOptions {
5716+ }
5717+ // tslint:enable:quotemark
55795718/**
55805719 * Tif load options
55815720 */
@@ -6758,6 +6897,7 @@ export namespace TifConvertOptions {
67586897// tslint:enable:quotemark
67596898const enumsMap = {
67606899 "FieldLabel.FieldEnum" : FieldLabel . FieldEnum ,
6900+ "CadLoadOptions.DrawTypeEnum" : CadLoadOptions . DrawTypeEnum ,
67616901 "EBookConvertOptions.PageSizeEnum" : EBookConvertOptions . PageSizeEnum ,
67626902 "EBookConvertOptions.PageOrientationEnum" : EBookConvertOptions . PageOrientationEnum ,
67636903 "ImageConvertOptions.FlipModeEnum" : ImageConvertOptions . FlipModeEnum ,
@@ -6826,6 +6966,7 @@ const typeMap = {
68266966 XmlLoadOptions,
68276967 BmpConvertOptions,
68286968 BmpLoadOptions,
6969+ Cf2LoadOptions,
68296970 CsvLoadOptions,
68306971 DcmConvertOptions,
68316972 DcmLoadOptions,
@@ -6846,7 +6987,9 @@ const typeMap = {
68466987 DotxConvertOptions,
68476988 DotxLoadOptions,
68486989 DwfLoadOptions,
6990+ DwfxLoadOptions,
68496991 DwgLoadOptions,
6992+ DwtLoadOptions,
68506993 DxfLoadOptions,
68516994 EmfConvertOptions,
68526995 EmfLoadOptions,
0 commit comments