activePDF Toolkit 2011 API Reference
Val_HasStream
Technical Reference > Explorer Object > Methods > Val_HasStream

Glossary Item Box

Description: Determines whether the attributes value does or does not have a Stream value.
Syntax: retValue = object.Val_HasStream (AttrVariant)
Arguments: Argument Value Type Description & Settings
object N/A Set to an instance of the Explorer object.
AttrVariant Integer An encoded value representing the input object's attributes as returned by the Dict_GetAttrVal, Dict_GetValue, Obj_AttrVal, Val_GetFirstElem, or Val_GetNextElem method.
retValue: Value Type Description & Settings
Integer A value used to determine whether the AttrVariant does or does not have a Stream value. Available returns are:

0 = The AttrVariant does not have a Stream value or is invalid.
1 = The AttrVariant has a Stream value. The AttrVariant is suitable for passing to the Val_GetStreamChars or Val_GetStreamLength method.