PowerPointConversionOptions Constructors
Overloads
PowerPointConversionOptions([Optional] Boolean) | Initializes a new instance of the PowerPointConversionOptions class. |
PowerPointConversionOptions(Double, Double, Double) | Initializes a new instance of the PowerPointConversionOptions class. |
PowerPointConversionOptions(Double, Double, Double, Double) | Initializes a new instance of the PowerPointConversionOptions class. |
PowerPointConversionOptions(Double, Double, Double, Double, [Optional] Boolean) | Initializes a new instance of the PowerPointConversionOptions class. |
PowerPointConversionOptions(PageSize, PageOrientation, Double) | Initializes a new instance of the PowerPointConversionOptions class. |
PowerPointConversionOptions(PageSize, PageOrientation, Double, Double, [Optional] Boolean) | Initializes a new instance of the PowerPointConversionOptions class. |
PowerPointConversionOptions([Optional] Boolean)
Initializes a new instance of the PowerPointConversionOptions class.
public PowerPointConversionOptions([bool appendToPdf = False])
Public Sub New (Optional appendToPdf As Boolean = False)
Parameters
- appendToPdf
- Boolean
Specify if append option to be enabled
Licensing Info
This constructor is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Converter selected.
- A DynamicPDF Converter for .NET v3.X Developer license.
Examples
Example shows how to use PowerPointConversionOptions with appendToPdf as parameter.Imports ceTe.DynamicPDF.Conversion
Module Module1
Sub Main()
' Set PowerPoint conversion options
Dim options As PowerPointConversionOptions = New PowerPointConversionOptions(True)
Dim powerPoint As PowerPointConverter =new PowerPointConverter ("C:\MyDocument.ppt",options)
' Call Convert method to do conversion synchronously
powerPoint.Convert( "C:\MyOutput.pdf")
End Sub
End Module
using System;
using ceTe.DynamicPDF.Conversion;
class MyClass
{
static void Main()
{
// Set PowerPoint conversion options
PowerPointConversionOptions options = new PowerPointConversionOptions(true);
PowerPointConverter powerPoint=new PowerPointConverter("C:\MyDocument.ppt",options);
powerPoint.Convert("C:\MyOutput.pdf");
}
}
PowerPointConversionOptions(Double, Double, Double)
Initializes a new instance of the PowerPointConversionOptions class.
public PowerPointConversionOptions(double width, double height, double margins)
Public Sub New (width As Double, height As Double, margins As Double)
Parameters
- width
- Double
Width of the page in points
- height
- Double
Height of hte page in points
- margins
- Double
Margins of the page in points
Licensing Info
This constructor is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Converter selected.
- A DynamicPDF Converter for .NET v3.X Developer license.
Examples
Example shows how to use PowerPointConversionOptions with width, height and margin as parameter.Imports ceTe.DynamicPDF.Conversion
Module Module1
Sub Main()
' Set PowerPoint conversion options
Dim options As PowerPointConversionOptions = New PowerPointConversionOptions(500,1000,10)
Dim powerPoint As PowerPointConverter =new PowerPointConverter ("C:\MyDocument.ppt",options)
' Call Convert method to do conversion synchronously
powerPoint.Convert( "C:\MyOutput.pdf")
End Sub
End Module
using System;
using ceTe.DynamicPDF.Conversion;
class MyClass
{
static void Main()
{
// Set PowerPoint conversion options
PowerPointConversionOptions options = new PowerPointConversionOptions(500,1000,10);
PowerPointConverter powerPoint=new PowerPointConverter("C:\MyDocument.ppt",options);
powerPoint.Convert("C:\MyOutput.pdf");
}
}
PowerPointConversionOptions(Double, Double, Double, Double)
Initializes a new instance of the PowerPointConversionOptions class.
public PowerPointConversionOptions(double width, double height, double leftAndRightMargins, double topAndBottomMargins)
Public Sub New (width As Double, height As Double, leftAndRightMargins As Double, topAndBottomMargins As Double)
Parameters
- width
- Double
Width of the page in points
- height
- Double
Height of the page in points
- leftAndRightMargins
- Double
The left and right margins of the page in points.
- topAndBottomMargins
- Double
The top and bottom margins of the page in points.
Licensing Info
This constructor is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Converter selected.
- A DynamicPDF Converter for .NET v3.X Developer license.
Examples
Example shows how to use PowerPointConversionOptions with width,height, LeftAndRightMargin and TopAndBottomMargin as parameter.Imports ceTe.DynamicPDF.Conversion
Module Module1
Sub Main()
' Set PowerPoint conversion options
Dim options As PowerPointConversionOptions = New PowerPointConversionOptions(500,1000,10,10)
Dim powerPoint As PowerPointConverter =new PowerPointConverter ("C:\MyDocument.ppt",options)
' Call Convert method to do conversion synchronously
powerPoint.Convert( "C:\MyOutput.pdf")
End Sub
End Module
using System;
using ceTe.DynamicPDF.Conversion;
class MyClass
{
static void Main()
{
// Set PowerPoint conversion options
PowerPointConversionOptions options = new PowerPointConversionOptions(500,1000,10,10);
PowerPointConverter powerPoint=new PowerPointConverter("C:\MyDocument.ppt",options);
powerPoint.Convert("C:\MyOutput.pdf");
}
}
PowerPointConversionOptions(Double, Double, Double, Double, [Optional] Boolean)
Initializes a new instance of the PowerPointConversionOptions class.
public PowerPointConversionOptions(double width, double height, double leftAndRightMargins, double topAndBottomMargins, [bool appendToPdf = False])
Public Sub New (width As Double, height As Double, leftAndRightMargins As Double, topAndBottomMargins As Double, Optional appendToPdf As Boolean = False)
Parameters
- width
- Double
Width of the page in points
- height
- Double
Height of the page in points
- leftAndRightMargins
- Double
The left and right margins of the page in points
- topAndBottomMargins
- Double
The top and bottom margins of the page in points
- appendToPdf
- Boolean
Specify if append option to be enabled
Licensing Info
This constructor is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Converter selected.
- A DynamicPDF Converter for .NET v3.X Developer license.
Examples
Example shows how to use PowerPointConversionOptions with width,height, LeftAndRightMargin, TopAndBottomMargin and appendToPdf as parameter.Imports ceTe.DynamicPDF.Conversion
Module Module1
Sub Main()
' Set PowerPoint conversion options
Dim options As PowerPointConversionOptions = New PowerPointConversionOptions(500,1000,10,10,False)
Dim powerPoint As PowerPointConverter =new PowerPointConverter ("C:\MyDocument.ppt",options)
' Call Convert method to do conversion synchronously
powerPoint.Convert( "C:\MyOutput.pdf")
End Sub
End Module
using System;
using ceTe.DynamicPDF.Conversion;
class MyClass
{
static void Main()
{
// Set PowerPoint conversion options
PowerPointConversionOptions options = new PowerPointConversionOptions(500,1000,10,10,flase);
PowerPointConverter powerPoint=new PowerPointConverter("C:\MyDocument.ppt",options);
powerPoint.Convert("C:\MyOutput.pdf");
}
}
PowerPointConversionOptions(PageSize, PageOrientation, Double)
Initializes a new instance of the PowerPointConversionOptions class.
public PowerPointConversionOptions(PageSize size, PageOrientation orientation, double margins)
Public Sub New (size As PageSize, orientation As PageOrientation, margins As Double)
Parameters
- size
- PageSize
Size of the page
- orientation
- PageOrientation
Orientation of the page
- margins
- Double
Margins of the page in points
Licensing Info
This constructor is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Converter selected.
- A DynamicPDF Converter for .NET v3.X Developer license.
Examples
Example shows how to use PowerPointConversionOptions with PageSize,PageOrientaion, margins as parameter.Imports ceTe.DynamicPDF.Conversion
Module Module1
Sub Main()
' Set PowerPoint conversion options
Dim options As PowerPointConversionOptions = New PowerPointConversionOptions(PageSize.A4,PageOrientation.Portrait,10)
Dim powerPoint As PowerPointConverter =new PowerPointConverter ("C:\MyDocument.ppt",options)
' Call Convert method to do conversion synchronously
powerPoint.Convert( "C:\MyOutput.pdf")
End Sub
End Module
using System;
using ceTe.DynamicPDF.Conversion;
class MyClass
{
static void Main()
{
// Set PowerPoint conversion options
PowerPointConversionOptions options = new PowerPointConversionOptions(PageSize.A4,PageOrientation.Portrait,10);
PowerPointConverter powerPoint=new PowerPointConverter("C:\MyDocument.ppt",options);
//' Call Convert method to do conversion synchronously
powerPoint.Convert("C:\MyOutput.pdf");
}
}
PowerPointConversionOptions(PageSize, PageOrientation, Double, Double, [Optional] Boolean)
Initializes a new instance of the PowerPointConversionOptions class.
public PowerPointConversionOptions(PageSize size, PageOrientation orientation, double leftAndRightMargins, double topAndBottomMargins, [bool appendToPdf = False])
Public Sub New (size As PageSize, orientation As PageOrientation, leftAndRightMargins As Double, topAndBottomMargins As Double, Optional appendToPdf As Boolean = False)
Parameters
- size
- PageSize
Size of the page
- orientation
- PageOrientation
Orientation of the page in points
- leftAndRightMargins
- Double
The left and right margins of the page in points.
- topAndBottomMargins
- Double
The top and bottom margins of the page in points.
- appendToPdf
- Boolean
Specify if append option to be enabled
Licensing Info
This constructor is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Converter selected.
- A DynamicPDF Converter for .NET v3.X Developer license.
Examples
Example shows how to use PowerPointConversionOptions with PageSize,Page orientation, LeftAndRightMargin, TopAndBottomMargin and appendToPdf as parameter.Imports ceTe.DynamicPDF.Conversion
Module Module1
Sub Main()
' Set PowerPoint conversion options
Dim options As PowerPointConversionOptions = New PowerPointConversionOptions(PageSize.A4,PageOrientation.Portrait,10,10,false)
Dim powerPoint As PowerPointConverter =new PowerPointConverter ("C:\MyDocument.ppt",options)
' Call Convert method to do conversion synchronously
powerPoint.Convert( "C:\MyOutput.pdf")
End Sub
End Module
using System;
using ceTe.DynamicPDF.Conversion;
class MyClass
{
static void Main()
{
// Set PowerPoint conversion options
PowerPointConversionOptions options = new PowerPointConversionOptions(PageSize.A4,PageOrientation.Portrait,10,10,false);
PowerPointConverter powerPoint=new PowerPointConverter("C:\MyDocument.ppt",options);
//' Call Convert method to do conversion synchronously
powerPoint.Convert("C:\MyOutput.pdf");
}
}