Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
U

usolo

@usolo
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Intersoft ClientUI 6
    U usolo

    Hi Have you activatd it ,now? I've installed it,too.I'm also looking for the License Key.

    WPF help tutorial announcement

  • The WPF DocumentViewer Control
    U usolo

    I made a xps reader with the DocumentViewer control.How can I reader the xps file with DocumentStructView just like the doc file in Office Word open.- -!Sorry,my English is poor!Thanks.

    public int ListInXpsDoc(string srcXpsDocument)
    {
    int numImages = 0;
    int numPages = 0;
    XpsDocument document = new XpsDocument(srcXpsDocument, FileAccess.Read);
    IXpsFixedDocumentSequenceReader docSequence = document.FixedDocumentSequenceReader;
    if (docSequence != null)
    {

                foreach (IXpsFixedDocumentReader docSeqDocument in docSequence.FixedDocuments)
                { 
                    foreach (IXpsFixedPageReader docPage in docSeqDocument.FixedPages)
                    { 
                        numPages++; 
                    }
                } 
            }
            document.Close();
            return numPages; 
        }
    
    WPF csharp wpf question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups