Class HtmlPictureSettings¶
Namespace: OfficeOpenXml.Export.HtmlExport
Assembly: EPPlus.dll
Setting for rendering of picture drawings
Inheritance¶
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Properties¶
AddMarginLeft¶
If the margin in pixels from the left corner should be used. If this property is set to true, the cells text alignment will be set to 'left', otherwise alignment will be set to center.
Property Value¶
AddMarginTop¶
If the margin in pixels from the top corner should be used. If this property is set to true, the cells vertical alignment will be set to 'top', otherwise alignment will be set to middle.
Property Value¶
AddNameAsId¶
Adds the Picture name as Id for the img element in the HTML. Characters [A-Z][0-9]-_ are allowed. The first character allows [A-Z]_. Other characters will be replaced with an hyphen (-).
Property Value¶
CssExclude¶
Exclude settings
Property Value¶
Include¶
If picture drawings should be included in the html. Default is Exclude
Property Value¶
KeepOriginalSize¶
If set to true the original size of the image is used, otherwise the size in the workbook is used. Default is false.
Property Value¶
Position¶
If the image should be added as absolut or relative in the css.
Property Value¶
Methods¶
Copy(HtmlPictureSettings)¶
Copy the values from another settings object.
Parameters¶
copy HtmlPictureSettings
The object to copy.
ResetToDefault()¶
Reset the setting to it's default values.