ClassImageSegment
Class
Segment that inserts an image into the PDF document
Definition
Namespace:Telerik.Documents.AI.Tools.Fixed.Core.Models.ContentSegments
Assembly:Telerik.Documents.AI.Tools.Fixed.Core.dll
Syntax:
cs-api-definition
public class ImageSegment : ContentSegment
Inheritance: objectContentSegmentImageSegment
Constructors
ImageSegment()
Declaration
cs-api-definition
public ImageSegment()
Properties
Height
The height of the image in points. If not specified, the original image height will be used. Must be a positive number.
ImagePath
The path to the image file to insert. Supports common formats: JPEG, PNG, BMP, TIFF, GIF. Must be an absolute path or relative to the current working directory.
MaintainAspectRatio
Whether to maintain the original aspect ratio when width or height is specified. If true, the image will be scaled proportionally. Default is true.
SegmentType
The type of content segment
Declaration
cs-api-definition
public override string SegmentType { get; }
Property Value
Overrides