[]
Represents a page in GcWordLayout.
public class Page
Gets the height of the page, in points.
public float Height { get; }
Gets the width of the page, in points.
public float Width { get; }
Gets the owner GcWordLayout.
public GcWordLayout WordLayout { get; }
Saves the page as an image to a stream in JPEG format.
public void SaveAsJpeg(Stream stream, ImageOutputSettings options = null)
stream
System.IO.StreamThe output stream.
options
ImageOutputSettingsOptions that allow customizing the output image.
Saves the page as an image to a file in JPEG format.
public void SaveAsJpeg(string filePath, ImageOutputSettings options = null)
filePath
stringThe output file path.
options
ImageOutputSettingsOptions that allow customizing the output image.
Saves the page as an image to a stream in PNG format.
public void SaveAsPng(Stream stream, ImageOutputSettings options = null)
stream
System.IO.StreamThe output stream.
options
ImageOutputSettingsOptions that allow customizing the output image.
Saves the page as an image to a file in PNG format.
public void SaveAsPng(string filePath, ImageOutputSettings options = null)
filePath
stringThe output file path.
options
ImageOutputSettingsOptions that allow customizing the output image.
Saves the page to a stream in SVG format.
public void SaveAsSvg(Stream stream, ImageOutputSettings options = null, XmlWriterSettings xmlSettings = null)
stream
System.IO.StreamThe output stream.
options
ImageOutputSettingsOptions that allow customizing the output image.
xmlSettings
System.Xml.XmlWriterSettingsThe output XML formatting settings.
Saves the current page to a file in SVG format.
public void SaveAsSvg(string filePath, ImageOutputSettings options = null, XmlWriterSettings xmlSettings = null)
filePath
stringThe output file path.
options
ImageOutputSettingsOptions that allow customizing the output image.
xmlSettings
System.Xml.XmlWriterSettingsThe output XML formatting settings.
Saves the page as an image to a stream in TIFF format.
public void SaveAsTiff(Stream stream, ImageOutputSettings options = null, TiffFrameSettings frameSettings = null)
stream
System.IO.StreamThe output stream.
options
ImageOutputSettingsOptions that allow customizing the output image.
frameSettings
GrapeCity.Documents.Imaging.TiffFrameSettingsFrame settings that are used for encoding the TIFF frame.
Saves the page as an image to a file in TIFF format.
public void SaveAsTiff(string filePath, ImageOutputSettings options = null, TiffFrameSettings frameSettings = null)
filePath
stringThe output file path.
options
ImageOutputSettingsOptions that allow customizing the output image.
frameSettings
GrapeCity.Documents.Imaging.TiffFrameSettingsFrame settings that are used for encoding the TIFF frame.
Saves the current page to a byte array in SVGZ format.
public byte[] ToSvgz(ImageOutputSettings options = null)
options
ImageOutputSettingsOptions that allow customizing the output image.