RtfInlinePicture

class RtfInlinePicture(val bytes: ByteArray, val format: RtfPictureFormat, val widthPx: Int, val heightPx: Int, val goalWidthTwips: Int? = null, val goalHeightTwips: Int? = null) : RtfInline(source)

A picture flowing inside a paragraph, like a large character. See RtfPicture for one on a line of its own; the parameters are the same apart from style. The 96 dpi default size exceeds a 6.5 inch text width for images wider than 624 px, so pass a goal for large images.

Throws

if bytes is empty, a size is not positive, or a size or derived goal does not fit in an Int number of twips.

Constructors

Link copied to clipboard
constructor(bytes: ByteArray, format: RtfPictureFormat, widthPx: Int, heightPx: Int, goalWidthTwips: Int? = null, goalHeightTwips: Int? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String