નેટ પરથી DOCX એનોટેટ કરો


મફત અજમાયશ ડાઉનલોડ કરો

નેટ API માટે GroupDocs.Annotation વિશે

GroupDocs.Annotation for Net API એ એક લાઇબ્રેરી છે જે તમને PDF, Word અને Mac, Windows અથવા Ubuntu પરના અન્ય દસ્તાવેજોમાં ટીકા ઉમેરવાની મંજૂરી આપે છે. GroupDocs.Annotation for Net એ ઈમેજો અને અન્ય વિવિધ દસ્તાવેજોમાંથી ટીકાઓ બનાવવા, ઉમેરવા, સંપાદિત કરવા, કાઢી નાખવા, કાઢવા અને નિકાસ કરવા માટે વ્યાપક સમર્થન સાથે એનોટેશનનું સંચાલન કરવા માટેનું નેટિવ નેટ API છે. સમર્થિત દસ્તાવેજ ફોર્મેટ્સની સંપૂર્ણ સૂચિ તમે આ પૃષ્ઠ પર જોઈ શકો છો. આ લાઇબ્રેરી તમને માત્ર DOCX દસ્તાવેજ સાથે જ નહીં પરંતુ અન્ય ઘણા પ્રકારના દસ્તાવેજો જેમ કે Word, Excel, PowerPoint, Outlook emails, Visio, Adobe, OpenDocument, OpenOffice, Photoshop, AutoCad અને અન્ય ઘણા બધા દસ્તાવેજો સાથે પણ કામ કરવાની મંજૂરી આપે છે. નેટ API માટે GroupDocs.Annotation તમને નવી નોંધો બનાવવા અને ઉમેરવા, ટીકાઓ સંપાદિત કરવા, ટિપ્પણીઓ, ટીકાઓ કાઢવા અને તેમને દસ્તાવેજોમાંથી દૂર કરવાની મંજૂરી આપે છે. લાઇબ્રેરી 13 વિવિધ એનોટેશન પ્રકારોને સપોર્ટ કરે છે, જેમાં ટેક્સ્ટ, પોલિલાઇન, એરિયા, અંડરલાઇન, પોઇન્ટ, વોટરમાર્ક, એરો, એલિપ્સ, ટેક્સ્ટ રિપ્લેસમેન્ટ, ડિસ્ટન્સ, ટેક્સ્ટ ફીલ્ડ, પીડીએફમાં રિસોર્સ રિડેક્શન, એચટીએમએલ, માઇક્રોસોફ્ટ વર્ડ ડોક્યુમેન્ટ્સ, સ્પ્રેડશીટ્સ, આકૃતિઓ, પ્રસ્તુતિઓ, રેખાંકનો, છબીઓ અને અન્ય ઘણા ફાઇલ ફોર્મેટ્સ. ઉદાહરણ (કૃપા કરીને નીચે જુઓ) DOCX દસ્તાવેજ સાથે કામ કરવાનું દર્શાવે છે, આ ઉદાહરણમાં તમે GroupDocs સાથે કેવી રીતે કામ કરવું તેનાં મુખ્ય પગલાં જોઈ શકો છો. એનોટેશન: લાઇસન્સ સેટ કરો, તમે જેની સાથે કામ કરવા માગો છો તે દસ્તાવેજ ખોલો, એક બનાવવું એનોટેશન, તમારી જરૂરિયાતો અનુસાર એનોટેશન પ્રોપર્ટીઝ સેટ કરવા માટે ડેટા ઑબ્જેક્ટ્સ ઉમેરીને અને પરિણામને જરૂરી જગ્યાએ સાચવો. તમે અમારા ગીથબ પૃષ્ઠ અથવા અમારા ઉત્પાદન દસ્તાવેજીકરણ પર સમર્થિત સુવિધાઓ પર વધુ વિગતવાર પણ જોઈ શકો છો.

નેટમાં DOCXમાં ટીકા ઉમેરવાનાં પગલાં

GroupDocs.Annotation નેટ વિકાસકર્તાઓ માટે અમુક સરળ પગલાં અમલમાં મૂકીને કોઈપણ નેટ-આધારિત એપ્લિકેશનમાં DOCX ફાઈલોમાં વિવિધ એનોટેશન પ્રકારો ઉમેરવાનું સરળ બનાવે છે.

  • ટિપ્પણી અને તારીખ સાથે જવાબ આપો ઑબ્જેક્ટ્સ બનાવો.
  • એરિયા એનોટેશન ઑબ્જેક્ટ બનાવો, વિસ્તાર વિકલ્પો સેટ કરો અને જવાબો ઉમેરો.
  • એનોટેટર ઑબ્જેક્ટ બનાવો અને વિસ્તાર એનોટેશન ઉમેરો.
  • આઉટપુટ ફાઇલ સાચવો.

પ્રણાલીની જરૂરિયાતો

GroupDocs. નેટ API માટે એનોટેશન તમામ મુખ્ય પ્લેટફોર્મ્સ અને ઓપરેટિંગ સિસ્ટમ્સ પર સપોર્ટેડ છે. નીચે આપેલા કોડને અમલમાં મૂકતા પહેલા, કૃપા કરીને ખાતરી કરો કે તમારી પાસે તમારી સિસ્ટમ પર નીચેની પૂર્વજરૂરીયાતો ઇન્સ્ટોલ કરેલી છે.

  • ઓપરેટિંગ સિસ્ટમ્સ: માઇક્રોસોફ્ટ વિન્ડોઝ, લિનક્સ, મેકઓએસ
  • વિકાસ પર્યાવરણ: વિઝ્યુઅલ સ્ટુડિયો, ઝામરિન, મોનોડેવલપ
  • ફ્રેમવર્ક: .NET ફ્રેમવર્ક, .NET સ્ટાન્ડર્ડ, .NET કોર, મોનો
  • .NET માટે GroupDocs.Annotation નું નવીનતમ સંસ્કરણ NuGet પરથી ડાઉનલોડ કરો.

ટીકા પૂર્વાવલોકન અને કોડ નમૂના

//Add text field annotation to the document from local disk
using (Annotator annotator = new Annotator("input.bmp"))
{
    TextFieldAnnotation textField = new TextFieldAnnotation
    {
        BackgroundColor = 65535,
        Box = new Rectangle(100, 100, 100, 100),
        CreatedOn = DateTime.Now,
        Text = "Some text",
        FontColor = 65535,
        FontSize = 12,
        Message = "This is text field annotation",
        Opacity = 0.7,
        PageNumber = 0,
        PenStyle = PenStyle.Dot,
        PenWidth = 3,
        FontFamily = "Arial",
        TextHorizontalAlignment = HorizontalAlignment.Center,
        Replies = new List
        {
            new Reply
            {
                Comment = "First comment",
                RepliedOn = DateTime.Now
            },
            new Reply
            {
                Comment = "Second comment",
                RepliedOn = DateTime.Now
            }
        }
    };
    annotator.Add(textField);
    annotator.Save("result.bmp");
}

Annotation preview image

નેટમાં DOCX માંથી ટીકાઓ દૂર કરવાના પગલાં

GroupDocs.Annotation નેટ વિકાસકર્તાઓ માટે થોડા સરળ પગલાં અમલમાં મૂકીને કોઈપણ નેટ-આધારિત એપ્લિકેશનમાં DOCX ફાઈલોમાંથી એનોટેશન વિગતો દૂર કરવાનું સરળ બનાવે છે.

  • ટિપ્પણી અને તારીખ સાથે જવાબ આપો ઑબ્જેક્ટ્સ બનાવો.
  • Instantiate SaveOptions ઑબ્જેક્ટ અને AnnotationTypes = AnnotationType.None સેટ કરો.
  • પરિણામી દસ્તાવેજ પાથ અથવા સ્ટ્રીમ અને SaveOptions ઑબ્જેક્ટ સાથે સેવ મેથડને કૉલ કરો.

// 1- How to remove annotation from document using annotation index

using (Annotator annotator = new Annotator("result.bmp"))
{
    annotator.Remove(0);
    annotator.Save("removed.bmp");
}

// 2- How to remove annotation from document using annotation object

using (Annotator annotator = new Annotator("result.bmp"))
{
    var tmp = annotator.Get();
    annotator.Remove(tmp[0]);
    annotator.Save("removed.bmp");
}

// 3- How to remove some annotations from document using list of ID’s

using (Annotator annotator = new Annotator("result.bmp"))
{
    var idList = new List{1, 2, 3};
    annotator.Remove(idList);
    annotator.Save("removed.bmp");
}

// 4- How to remove some annotations from document using list of annotations

using (Annotator annotator = new Annotator("result.bmp"))
{
    var tmp = annotator.Get();
    annotator.Remove(tmp);
    annotator.Save("removed.bmp");
}

નેટમાં DOCX માંથી ટીકાઓ સંપાદિત કરવાના પગલાં

GroupDocs.Annotation નેટ વિકાસકર્તાઓ માટે થોડા સરળ પગલાં અમલમાં મૂકીને કોઈપણ નેટ-આધારિત એપ્લિકેશનમાં DOCX ફાઇલોમાંથી વિવિધ એનોટેશન ગુણધર્મોને અપડેટ કરવાનું સરળ બનાવે છે.

  • ઈનપુટ ડોક્યુમેન્ટ પાથ સાથે એનોટેટર ઑબ્જેક્ટને ઇન્સ્ટન્ટીએટ કરો અથવા ImportAnnotations = true સાથે ઇન્સ્ટન્ટિએટેડ LoadOptions સાથે સ્ટ્રીમ કરો.
  • કેટલાક એનોટેશનબેઝ અમલીકરણ બનાવો અને અસ્તિત્વમાં છે તે ટીકાનું આઈડી સેટ કરો (જો તે આઈડી સાથેની ટીકા મળી નથી, તો કંઈપણ બદલાશે નહીં) અથવા ટીકાઓની પાથ સૂચિ (બધી અસ્તિત્વમાં છે તે ટીકા દૂર કરવામાં આવશે).
  • પસાર થયેલી ટીકાઓ સાથે એનોટેટર ઑબ્જેક્ટની કૉલ અપડેટ પદ્ધતિ.
  • પરિણામી દસ્તાવેજ પાથ અથવા સ્ટ્રીમ અને SaveOptions ઑબ્જેક્ટ સાથે સેવ મેથડને કૉલ કરો.

// open annotated document
using (Annotator annotator = new Annotator("result.bmp"))
{
    //assuming we are going to change some properties of existing annotation
        AreaAnnotation updated = new AreaAnnotation
            {
                    // It's important to set existed annotation Id
                    Id = 1,
                    BackgroundColor = 255,
                    Box = new Rectangle(0, 0, 50, 200),
                    CreatedOn = DateTime.Now,
                    Message = "This is updated annotation",
                    Replies = new List
                    {
                        new Reply
                        {
                            Comment = "Updated first comment",
                            RepliedOn = DateTime.Now
                        },
                        new Reply
                        {
                            Comment = "Updated second comment",
                            RepliedOn = DateTime.Now
                        }
                    }
                };
        // update annotation
        annotator.Update(updated);
        annotator.Save("result.bmp");
}

નેટમાં DOCX માંથી ટીકાઓ કાઢવાના પગલાં

GroupDocs.Annotation નેટ વિકાસકર્તાઓ માટે થોડા સરળ પગલાં અમલમાં મૂકીને કોઈપણ નેટ-આધારિત એપ્લિકેશનમાં દસ્તાવેજોની ટીકા કરવાનું અને DOCX ફાઈલોમાંથી એનોટેશન માહિતી કાઢવાનું સરળ બનાવે છે.

  • ટિપ્પણી અને તારીખ સાથે જવાબ આપો ઑબ્જેક્ટ્સ બનાવો.
  • LoadOptions ઑબ્જેક્ટને ત્વરિત કરો અને સાચી દલીલ સાથે SetImportAnnotations કૉલ કરો.
  • પ્રકાર સૂચિ સાથે ચલ વ્યાખ્યાયિત કરો.
  • ગેટ મેથડ પર કૉલ કરો અને પરિણામ ઉપરના ચલ પર પાછા ફરો.

// for using this example input file ("annotated.bmp") must be with annotations
using (Annotator annotator = new Annotator("annotated.bmp"))
{
    List annotations = annotator.Get();
    XmlSerializer formatter = new XmlSerializer(typeof(List));
    using (FileStream fs = new FileStream("annotations.xml", FileMode.Create))
    {
        fs.SetLength(0);
        formatter.Serialize(fs, annotations);
    }
}

દસ્તાવેજો અને છબીઓમાં ઍનોટેશન ઉમેરવા, દૂર કરવા, સંપાદિત કરવા, બહાર કાઢવા માટે લાઇવ ડેમો

હમણાં જ GroupDocs.Annotation Live Demos વેબસાઇટની મુલાકાત લઈને DOCX ફાઇલમાં ઍનોટેશન ઉમેરો, દૂર કરો, સંપાદિત કરો અને બહાર કાઢો. લાઇવ ડેમોના નીચેના ફાયદા છે

API ડાઉનલોડ કરવાની જરૂર નથી

કોઈ કોડ લખવાની જરૂર નથી

ફક્ત સ્રોત ફાઇલ અપલોડ કરો

ફાઇલ સાચવવા માટે ડાઉનલોડ લિંક મેળવો

DOCX ફાઇલ ફોર્મેટ વિશે

DOCX માઇક્રોસોફ્ટ વર્ડ દસ્તાવેજો માટે જાણીતું ફોર્મેટ છે. માઈક્રોસોફ્ટ ઓફિસ 2007 ના પ્રકાશન સાથે 2007 થી રજૂ કરાયેલ, આ નવા દસ્તાવેજ ફોર્મેટનું માળખું સાદા દ્વિસંગીમાંથી XML અને બાઈનરી ફાઈલોના સંયોજનમાં બદલાઈ ગયું છે. Docx ફાઇલો Word 2007 અને લેટરલ વર્ઝન સાથે ખોલી શકાય છે પરંતુ MS Word ના પહેલાનાં વર્ઝન સાથે નહીં જે DOC ફાઇલ એક્સ્ટેંશનને સપોર્ટ કરે છે.

વધુ વાંચો DOCX ફાઇલ ફોર્મેટ વિશે

અન્ય લોકપ્રિય દસ્તાવેજ ફોર્મેટ સાથે કામ કરવું

નીચે જણાવ્યા મુજબ કેટલાક લોકપ્રિય ફાઇલ ફોર્મેટમાંથી ટીકા ગુણધર્મોને અપડેટ કરો.

Annotate PDF document

(Adobe Portable Document Format)

Annotate DOC document

(Microsoft Word Document)

Annotate DOCM document

(Microsoft Word Macro-Enabled Document)

Annotate DOCX document

(Microsoft Word Open XML Document)

Annotate DOT document

(Microsoft Word Document Template)

Annotate DOTX document

(Word Open XML Document Template)

Annotate RTF document

(Rich Text Document)

Annotate ODT document

(Open Document Text)

Annotate XLS document

(Microsoft Excel Binary File Format)

Annotate XLSX document

(Microsoft Excel Open XML Spreadsheet)

Annotate XLSM document

(Microsoft Excel Macro-Enabled Spreadsheet)

Annotate XLSB document

(Microsoft Excel Binary Worksheet)

Annotate ODS document

(Open Document Spreadsheet)

Annotate PPT document

(PowerPoint Presentation)

Annotate PPTX document

(PowerPoint Open XML Presentation)

Annotate PPSX document

(PowerPoint Open XML Slide Show)

Annotate POTM document

(Microsoft PowerPoint Template)

Annotate PPTM document

(Microsoft PowerPoint Presentation)

Annotate PPS document

(Microsoft PowerPoint 97-2003 Slide Show)

Annotate ODP document

(OpenDocument Presentation)

Annotate HTML document

(HyperText Markup Language)

Annotate TIFF document

(Tagged Image File Format)

Annotate PNG document

(Portable Network Graphic)

Annotate EML document

(E-mail Message)

Annotate MSG document

(Microsoft Outlook E-mail Message)

Annotate VSD document

(Microsoft Visio 2003-2010 Drawing)

Annotate VSDX document

(Microsoft Visio Drawing)

Annotate VSS document

(Microsoft Visio 2003-2010 Stencil)

Annotate VST document

(Microsoft Visio 2013 Stencil)

Annotate DWG document

(Autodesk Design Data Formats)

Annotate DXF document

(AutoCAD Drawing Interchange)

Annotate DCM document

(Digital Imaging and Communications in Medicine)

Annotate WMF document

(Windows Metafile)

Annotate EMF document

(Enhanced Metafile Format)

Back to top
 ગુજરાતી