Class CdrImageFill
Namespace: Aspose.Imaging.FileFormats.Cdr.Types
Assembly: Aspose.Imaging.dll (25.7.0)
The cdr image fill
[JsonObject(MemberSerialization.OptIn)]
public class CdrImageFill
{
public string ImageFilePath { get; set; }
public bool FillBackgroundColor { get; set; }
public double BackgroundColorRed { get; set; }
public double BackgroundColorGreen { get; set; }
public double BackgroundColorBlue { get; set; }
}
Inheritance
Inherited Members
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
CdrImageFill(int, double, double, bool, double, double, double, byte)
Initializes a new instance of the Aspose.Imaging.FileFormats.Cdr.Types.CdrImageFill class.
public class CdrImageFill
{
[JsonConstructor]
public CdrImageFill(
int id,
double width,
double height,
bool isRelative,
double xOffset,
double yOffset,
double rcpOffset,
byte flags)
{
}
}
Parameters
id
int
The identifier.
width
double
The width.
height
double
The height.
isRelative
bool
if set to ’true’ [is relative].
xOffset
double
The x offset.
yOffset
double
The y offset.
rcpOffset
double
The RPC offset.
flags
byte
The flags.
Properties
Flags
Gets or sets the flags.
[JsonProperty]
public byte Flags
{
get;
set;
}
Property Value
Height
Gets or sets the height.
public class MyClass
{
[JsonProperty]
public double Height { get; set; }
}
Property Value
Id
Gets or sets the identifier.
[JsonProperty]
public int Id
{
get;
set;
}
Property Value
IsRelative
Gets or sets a value indicating whether this instance is relative.
[JsonProperty]
public bool IsRelative
{
get;
set;
}
Property Value
RcpOffset
Gets or sets the RCP offset.
public class MyClass
{
[JsonProperty]
public double RcpOffset { get; set; }
}
Property Value
Width
Gets or sets the width.
public class YourClassNameHere // Replace with your own class name
{
[JsonProperty]
public double Width
{
get;
set;
}
}
Property Value
XOffset
Gets or sets the x offset.
public class YourClassNameHere // Replace with actual class name
{
[JsonProperty]
public double XOffset
{
get;
set;
}
}
Property Value
YOffset
Gets or sets the y offset.
public double YOffset
{
get;
set;
}