Logo Search packages:      
Sourcecode: libpodofo version File versions  Download package

double PoDoFo::PdfOutlineItem::GetTextColorBlue (  ) const [inherited]

Get the color of the title of this item. Supported since PDF 1.4.

Returns:
the red color component
See also:
SetTextColor

Definition at line 317 of file PdfOutlines.cpp.

References PoDoFo::PdfVariant::GetArray(), PoDoFo::PdfObject::GetIndirectKey(), and PoDoFo::PdfElement::GetObject().

{
    if( this->GetObject()->GetDictionary().HasKey( "C" ) )
        return this->GetObject()->GetIndirectKey( "C" )->GetArray()[2].GetReal();

    return 0.0;
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index