Table of Contents

Property HasData

Namespace
DocWright.Core.Rendering
Assembly
DocWright.Core.dll

HasData

Gets whether image bytes are attached, so that OpenData() will succeed.

public bool HasData { get; }

Property Value

bool

Remarks

Without this a caller has to invoke OpenData() and catch InvalidOperationException to find out — which is exception control flow for a question the object can answer directly.