API Reference
Class
OfficeRasterScaleLimiter
Shared overflow-safe raster scale limiter for Office document engines.
Inheritance
- Object
- OfficeRasterScaleLimiter
Methods
Resolve 2 overloads
public static OfficeRasterScaleLimit Resolve(Double width, Double height, Double requestedScale, Int64 maximumPixels) #Returns:
OfficeRasterScaleLimitResolves the largest scale no greater than requestedScale whose rounded dimensions fit the pixel ceiling.
Parameters
- width System.Double
- height System.Double
- requestedScale System.Double
- maximumPixels System.Int64
public static OfficeRasterScaleLimit Resolve(Double width, Double height, Double requestedScale, Int64 maximumPixels, Int32 maximumDimension) #Returns:
OfficeRasterScaleLimitResolves the largest scale whose rounded dimensions fit both the decoded-pixel and per-dimension ceilings.
Parameters
- width System.Double
- height System.Double
- requestedScale System.Double
- maximumPixels System.Int64
- maximumDimension System.Int32
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object