/// <summary> /// Initializes a new instance of the <see cref="PostShapeSaveAsRequest"/> class. /// </summary> /// <param name="name">Presentation name.</param> /// <param name="slideIndex">Slide index.</param> /// <param name="shapeIndex">Index of shape starting from 1</param> /// <param name="format">Export picture format.</param> /// <param name="options">export options</param> /// <param name="folder">Presentation folder.</param> /// <param name="storage">Presentation storage.</param> /// <param name="scaleX">X scale ratio.</param> /// <param name="scaleY">Y scale ratio.</param> /// <param name="bounds">Shape thumbnail bounds type.</param> /// <param name="outPath">Output path.</param> /// <param name="fontsFolder">Fonts folder.</param> public PostShapeSaveAsRequest(string name, int slideIndex, int shapeIndex, ShapeExportFormat format, IShapeExportOptions options = null, string folder = null, string storage = null, double?scaleX = null, double?scaleY = null, string bounds = null, string outPath = null, string fontsFolder = null) { this.Name = name; this.SlideIndex = slideIndex; this.ShapeIndex = shapeIndex; this.Format = format; this.Options = options; this.Folder = folder; this.Storage = storage; this.ScaleX = scaleX; this.ScaleY = scaleY; this.Bounds = bounds; this.OutPath = outPath; this.FontsFolder = fontsFolder; }
/// <summary> /// Initializes a new instance of the <see cref="GetNotesSlideShapeWithFormatRequest"/> class. /// </summary> /// <param name="name">Presentation name.</param> /// <param name="slideIndex">Slide index.</param> /// <param name="shapeIndex">Index of shape starting from 1</param> /// <param name="format">Export picture format.</param> /// <param name="folder">Presentation folder.</param> /// <param name="storage">Presentation storage.</param> /// <param name="scaleX">X scale ratio.</param> /// <param name="scaleY">Y scale ratio.</param> /// <param name="bounds">Shape thumbnail bounds type.</param> /// <param name="outPath">Output path.</param> /// <param name="fontsFolder">Fonts folder.</param> public GetNotesSlideShapeWithFormatRequest(string name, int slideIndex, int shapeIndex, ShapeExportFormat format, string folder = null, string storage = null, double?scaleX = null, double?scaleY = null, string bounds = null, string outPath = null, string fontsFolder = null) { this.Name = name; this.SlideIndex = slideIndex; this.ShapeIndex = shapeIndex; this.Format = format; this.Folder = folder; this.Storage = storage; this.ScaleX = scaleX; this.ScaleY = scaleY; this.Bounds = bounds; this.OutPath = outPath; this.FontsFolder = fontsFolder; }