Skip to content

Commit 59b0299

Browse files
committed
Updated sources
1 parent ad9b916 commit 59b0299

6 files changed

Lines changed: 243 additions & 17 deletions

File tree

src/GroupDocs.Conversion.Cloud.Sdk/GroupDocs.Conversion.Cloud.Sdk.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
44
<TargetFrameworks>netstandard2.0;net20</TargetFrameworks>
5-
<AssemblyVersion>24.3.0.0</AssemblyVersion>
6-
<FileVersion>24.3.0.0</FileVersion>
7-
<Version>24.3</Version>
5+
<AssemblyVersion>24.4.0.0</AssemblyVersion>
6+
<FileVersion>24.4.0.0</FileVersion>
7+
<Version>24.4</Version>
88
<StyleCopTreatErrorsAsWarnings>false</StyleCopTreatErrorsAsWarnings>
99
<Company>GroupDocs</Company>
1010
<Authors>GroupDocs Product Team</Authors>

src/GroupDocs.Conversion.Cloud.Sdk/GroupDocs.Conversion.Cloud.Sdk.xml

Lines changed: 55 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/GroupDocs.Conversion.Cloud.Sdk/Model/CadLoadOptions.cs

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,38 @@ namespace GroupDocs.Conversion.Cloud.Sdk.Model
3939
public class CadLoadOptions : LoadOptions
4040
{
4141
/// <summary>
42-
/// Set desired page width for converting CAD document
43-
/// </summary>
44-
public int? Width { get; set; }
42+
/// Gets or sets type of drawing.
43+
/// </summary>
44+
/// <value>Gets or sets type of drawing.</value>
45+
[JsonConverter(typeof(StringEnumConverter))]
46+
public enum DrawTypeEnum
47+
{
48+
/// <summary>
49+
/// Enum UseDrawColor for "UseDrawColor"
50+
/// </summary>
51+
UseDrawColor,
52+
53+
/// <summary>
54+
/// Enum UseObjectColor for "UseObjectColor"
55+
/// </summary>
56+
UseObjectColor
57+
}
4558

4659
/// <summary>
47-
/// Set desired page height for converting CAD document
48-
/// </summary>
49-
public int? Height { get; set; }
60+
/// Gets or sets type of drawing.
61+
/// </summary>
62+
public DrawTypeEnum? DrawType { get; set; }
5063

5164
/// <summary>
5265
/// Render specific CAD layouts
5366
/// </summary>
5467
public List<string> LayoutNames { get; set; }
5568

69+
/// <summary>
70+
/// Gets or sets a background color.
71+
/// </summary>
72+
public string BackgroundColor { get; set; }
73+
5674
/// <summary>
5775
/// Get the string presentation of the object
5876
/// </summary>
@@ -61,9 +79,9 @@ public override string ToString()
6179
{
6280
var sb = new StringBuilder();
6381
sb.Append("class CadLoadOptions {\n");
64-
sb.Append(" Width: ").Append(this.Width).Append("\n");
65-
sb.Append(" Height: ").Append(this.Height).Append("\n");
6682
sb.Append(" LayoutNames: ").Append(this.LayoutNames).Append("\n");
83+
sb.Append(" BackgroundColor: ").Append(this.BackgroundColor).Append("\n");
84+
sb.Append(" DrawType: ").Append(this.DrawType).Append("\n");
6785
sb.Append("}\n");
6886
return sb.ToString();
6987
}
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
// --------------------------------------------------------------------------------------------------------------------
2+
// <copyright company="Aspose Pty Ltd" file="Cf2LoadOptions.cs">
3+
// Copyright (c) 2003-2024 Aspose Pty Ltd
4+
// </copyright>
5+
// <summary>
6+
// Permission is hereby granted, free of charge, to any person obtaining a copy
7+
// of this software and associated documentation files (the "Software"), to deal
8+
// in the Software without restriction, including without limitation the rights
9+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
// copies of the Software, and to permit persons to whom the Software is
11+
// furnished to do so, subject to the following conditions:
12+
//
13+
// The above copyright notice and this permission notice shall be included in all
14+
// copies or substantial portions of the Software.
15+
//
16+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
// SOFTWARE.
23+
// </summary>
24+
// --------------------------------------------------------------------------------------------------------------------
25+
26+
namespace GroupDocs.Conversion.Cloud.Sdk.Model
27+
{
28+
using System;
29+
using System.Collections;
30+
using System.Collections.Generic;
31+
using System.Runtime.Serialization;
32+
using System.Text;
33+
using Newtonsoft.Json;
34+
using Newtonsoft.Json.Converters;
35+
36+
/// <summary>
37+
/// Cf2 load options
38+
/// </summary>
39+
public class Cf2LoadOptions : CadLoadOptions
40+
{
41+
/// <summary>
42+
/// Get the string presentation of the object
43+
/// </summary>
44+
/// <returns>String presentation of the object</returns>
45+
public override string ToString()
46+
{
47+
var sb = new StringBuilder();
48+
sb.Append("class Cf2LoadOptions {\n");
49+
sb.Append("}\n");
50+
return sb.ToString();
51+
}
52+
}
53+
}
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
// --------------------------------------------------------------------------------------------------------------------
2+
// <copyright company="Aspose Pty Ltd" file="DwfxLoadOptions.cs">
3+
// Copyright (c) 2003-2024 Aspose Pty Ltd
4+
// </copyright>
5+
// <summary>
6+
// Permission is hereby granted, free of charge, to any person obtaining a copy
7+
// of this software and associated documentation files (the "Software"), to deal
8+
// in the Software without restriction, including without limitation the rights
9+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
// copies of the Software, and to permit persons to whom the Software is
11+
// furnished to do so, subject to the following conditions:
12+
//
13+
// The above copyright notice and this permission notice shall be included in all
14+
// copies or substantial portions of the Software.
15+
//
16+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
// SOFTWARE.
23+
// </summary>
24+
// --------------------------------------------------------------------------------------------------------------------
25+
26+
namespace GroupDocs.Conversion.Cloud.Sdk.Model
27+
{
28+
using System;
29+
using System.Collections;
30+
using System.Collections.Generic;
31+
using System.Runtime.Serialization;
32+
using System.Text;
33+
using Newtonsoft.Json;
34+
using Newtonsoft.Json.Converters;
35+
36+
/// <summary>
37+
/// Dwfx load options
38+
/// </summary>
39+
public class DwfxLoadOptions : CadLoadOptions
40+
{
41+
/// <summary>
42+
/// Get the string presentation of the object
43+
/// </summary>
44+
/// <returns>String presentation of the object</returns>
45+
public override string ToString()
46+
{
47+
var sb = new StringBuilder();
48+
sb.Append("class DwfxLoadOptions {\n");
49+
sb.Append("}\n");
50+
return sb.ToString();
51+
}
52+
}
53+
}
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
// --------------------------------------------------------------------------------------------------------------------
2+
// <copyright company="Aspose Pty Ltd" file="DwtLoadOptions.cs">
3+
// Copyright (c) 2003-2024 Aspose Pty Ltd
4+
// </copyright>
5+
// <summary>
6+
// Permission is hereby granted, free of charge, to any person obtaining a copy
7+
// of this software and associated documentation files (the "Software"), to deal
8+
// in the Software without restriction, including without limitation the rights
9+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
// copies of the Software, and to permit persons to whom the Software is
11+
// furnished to do so, subject to the following conditions:
12+
//
13+
// The above copyright notice and this permission notice shall be included in all
14+
// copies or substantial portions of the Software.
15+
//
16+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
// SOFTWARE.
23+
// </summary>
24+
// --------------------------------------------------------------------------------------------------------------------
25+
26+
namespace GroupDocs.Conversion.Cloud.Sdk.Model
27+
{
28+
using System;
29+
using System.Collections;
30+
using System.Collections.Generic;
31+
using System.Runtime.Serialization;
32+
using System.Text;
33+
using Newtonsoft.Json;
34+
using Newtonsoft.Json.Converters;
35+
36+
/// <summary>
37+
/// Dwt load options
38+
/// </summary>
39+
public class DwtLoadOptions : CadLoadOptions
40+
{
41+
/// <summary>
42+
/// Get the string presentation of the object
43+
/// </summary>
44+
/// <returns>String presentation of the object</returns>
45+
public override string ToString()
46+
{
47+
var sb = new StringBuilder();
48+
sb.Append("class DwtLoadOptions {\n");
49+
sb.Append("}\n");
50+
return sb.ToString();
51+
}
52+
}
53+
}

0 commit comments

Comments
 (0)