Example #1
0
        private static bool getEncodedByteAlign(PDFDictionary dict)
        {
            if (dict == null)
            {
                return(false);
            }

            PDFBoolean encodedByteAlign = dict["EncodedByteAlign"] as PDFBoolean;

            if (encodedByteAlign == null)
            {
                return(false);
            }
            return(encodedByteAlign.GetValue());
        }
Example #2
0
        private static bool getBlackIs1(PDFDictionary dict)
        {
            if (dict == null)
            {
                return(false);
            }

            PDFBoolean blackIs1 = dict["BlackIs1"] as PDFBoolean;

            if (blackIs1 == null)
            {
                return(false);
            }
            return(blackIs1.GetValue());
        }
Example #3
0
        private static bool getEndOfLine(PDFDictionary dict)
        {
            if (dict == null)
            {
                return(false);
            }

            PDFBoolean endOfLine = dict["EndOfLine"] as PDFBoolean;

            if (endOfLine == null)
            {
                return(false);
            }
            return(endOfLine.GetValue());
        }
Example #4
0
        private static bool getEndOfBlock(PDFDictionary dict)
        {
            if (dict == null)
            {
                return(true);
            }

            PDFBoolean endOfBlock = dict["EndOfBlock"] as PDFBoolean;

            if (endOfBlock == null)
            {
                return(true);
            }
            return(endOfBlock.GetValue());
        }