Class
OfficeImageExportLimitException
OfficeIMO.Drawing
Thrown when a raster export exceeds a configured allocation or encoder limit.
Inheritance
- InvalidOperationException
- OfficeImageExportLimitException
Inherited Methods
public virtual void GetObjectData(SerializationInfo info, StreamingContext context) #Inherited from Exception
Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}") EditorBrowsable(1)Parameters
- info SerializationInfo
- context StreamingContext
Properties
public long RequestedPixels { get; } #Requested pixel count, or long.MaxValue when it exceeded numeric bounds.
public long MaximumPixels { get; } #Effective pixel-count ceiling.
public int MaximumDimension { get; } #Effective per-dimension ceiling.
public OfficeImageExportFormat? Format { get; } #Encoder format whose density floor was exceeded, when applicable.
public double? EffectiveDpiX { get; } #Derived horizontal density that could not be represented, when applicable.
public double? EffectiveDpiY { get; } #Derived vertical density that could not be represented, when applicable.
public double? MinimumDpi { get; } #Minimum density supported by the selected encoder, when applicable.
Inherited Properties
public MethodBase? TargetSite { get; } #Inherited from Exception
public virtual string Message { get; } #Inherited from Exception
public virtual IDictionary Data { get; } #Inherited from Exception
public Exception? InnerException { get; } #Inherited from Exception
public virtual string? HelpLink { get; set; } #Inherited from Exception
public virtual string? Source { get; set; } #Inherited from Exception
public int HResult { get; set; } #Inherited from Exception
public virtual string? StackTrace { get; } #Inherited from Exception