Table of Contents

TCropArea Class

Defines a cropping area for an image. If the values are not zero, only a part of the image will display on Excel.

Syntax

Namespace: FlexCel.Core

public class TCropArea: ICloneable

Constructors

Methods

Name Description
Clone Returns a deep copy of this object
IsEmpty Returns true if all the coordinates are 0.
EqualValues Returns true if both instances of the objects contain the same values. Instances might be different, this method will return if their values are equal. Instances can be null.

Properties

Name Description
CropFromTop How much to crop the image, in fractions of 65536 of the total image height.
CropFromBottom How much to crop the image, in fractions of 65536 of the total image height.
CropFromLeft How much to crop the image, in fractions of 65536 of the total image width.
CropFromRight How much to crop the image, in fractions of 65536 of the total image width.