iTextSharp.text.Anchor.ApplyAnchor C# (CSharp) 메소드

ApplyAnchor() 보호된 메소드

protected ApplyAnchor ( Chunk chunk, bool notGotoOK, bool localDestination ) : bool
chunk Chunk
notGotoOK bool
localDestination bool
리턴 bool
        protected bool ApplyAnchor(Chunk chunk, bool notGotoOK, bool localDestination)
        {
            if (name != null && notGotoOK && !chunk.IsEmpty()) {
                chunk.SetLocalDestination(name);
                notGotoOK = false;
            }
            if (localDestination) {
                chunk.SetLocalGoto(reference.Substring(1));
            } else if (reference != null)
                chunk.SetAnchor(reference);
            return notGotoOK;
        }