MarkdownImageLoadArgs

Inheritance: java.lang.Object

public class MarkdownImageLoadArgs

Provides data for the M:GroupDocs.Editor.Options.IMarkdownImageLoadCallback.ProcessImage(MarkdownImageLoadArgs) event.

Constructors

Constructor Description
MarkdownImageLoadArgs()

Methods

Method Description
getImageFileName() Gets or sets the file name (as is in the Markdown document) that will be process.
setImageFileName(String value) Gets or sets the file name (as is in the Markdown document) that will be process.
isAbsoluteUri() Get a value indicating whether this image has absolute URI link.
setAbsoluteUri(boolean value) Get a value indicating whether this image has absolute URI link.
setData(byte[] data) Sets user provided data of the resource which is used if M:GroupDocs.Editor.Options.IMarkdownImageLoadCallback.ProcessImage(MarkdownImageLoadArgs)

MarkdownImageLoadArgs()

public MarkdownImageLoadArgs()

getImageFileName()

public final String getImageFileName()

Gets or sets the file name (as is in the Markdown document) that will be process.

Returns: java.lang.String

setImageFileName(String value)

public final void setImageFileName(String value)

Gets or sets the file name (as is in the Markdown document) that will be process.

Parameters:

Parameter Type Description
value java.lang.String

isAbsoluteUri()

public final boolean isAbsoluteUri()

Get a value indicating whether this image has absolute URI link.

Value: true if this image has absolute URI link; otherwise, false .

Returns: boolean

setAbsoluteUri(boolean value)

public final void setAbsoluteUri(boolean value)

Get a value indicating whether this image has absolute URI link.

Value: true if this image has absolute URI link; otherwise, false .

Parameters:

Parameter Type Description
value boolean

setData(byte[] data)

public final void setData(byte[] data)

Sets user provided data of the resource which is used if M:GroupDocs.Editor.Options.IMarkdownImageLoadCallback.ProcessImage(MarkdownImageLoadArgs)

Parameters:

Parameter Type Description
data byte[]