Property HasData
HasData
Gets whether image bytes are attached, so that OpenData() will succeed.
public bool HasData { get; }
Property Value
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.