Files
xSaherElmAiApi/Models/XPDFToImageDescriptor.cs
T

18 lines
682 B
C#

namespace xAiApi.Models
{
public class XPDFToImageDescriptor
{
public int Dpi { get; set; } = 300;
public int Width { get; set; } = 0;
public int Height { get; set; } = 0;
public bool UseTiling { get; set; } = false;
public bool WithFormFill { get; set; } = false;
public bool WithAspectRatio { get; set; } = false;
public bool WithAnnotations { get; set; } = false;
public bool DpiRelativeToBounds { get; set; } = false;
public int MaxImageWidth { get; set; } = 2000;
public int MinTextLengthThreshold { get; set; } = 50;
public int MaxPagesForImageFallback { get; set; } = 0;
}
}