Haɓaka gabatarwar ku PowerPoint tare da tsokaci na iya kawo fa’idodi da yawa, yana canza su zuwa kayan aikin haɗin gwiwa masu ƙarfi. Ta hanyar haɗa tsokaci, zaku iya sauƙaƙe tattaunawa, samar da ƙarin haske, haskaka mahimman bayanai, da tattara bayanai masu mahimmanci daga wasu. Don cimma wannan ba tare da matsala ba, Aspose.Slides Cloud SDK don NET yana zuwa don taimakonmu. Tare da ƙaƙƙarfan fasalulluka da sauƙin amfani, zaku iya ƙarawa ba tare da wahala ba, sarrafa, da cire sharhi daga gabatarwar PowerPoint, haɓaka haɗin gwiwa da sanya gabatarwar ku ta zama mai ma’amala da nishadantarwa.
- Sarrafa sharhin PowerPoint ta amfani da NET Cloud SDK
- Sami sharhin Slide ta amfani da C# .NET
- Ƙara Ra’ayoyin Slide ta amfani da C# .NET
- Share Ra’ayoyin Slide ta amfani da C# .NET
Sarrafa sharhin PowerPoint ta amfani da NET Cloud SDK
Aspose.Slides Cloud SDK for .NET yana ba da cikakken tsarin iyawa don ƙarfafa ku wajen ƙara tsokaci a cikin gabatarwar PowerPoint. Tare da wannan SDK, zaku iya ƙirƙira, gyara, da share sharhi ta hanyar tsari, ba da izinin haɗin gwiwa da mu’amala mara sumul. Ko kuna gina tsarin bita na gabatarwa, sauƙaƙe tattaunawar ƙungiya, ko neman ra’ayin abokin ciniki, damar Aspose.Slides Cloud SDK don NET na iya daidaita tsarin da haɓaka ƙwarewar hulɗar gabatarwar PowerPoint ku.
Yanzu da fatan za a bincika ‘Aspose.Slides-Cloud’ a cikin manajan fakitin NuGet kuma danna maɓallin ‘Ƙara Kunshin’. Hakanan, da fatan za a ziyarci sashin saurin farawa don koyon matakai kan yadda ake ƙirƙirar asusu akan dashboard ɗin girgije (idan ba ku da wanda yake akwai).
Sami sharhin Slide ta amfani da C# .NET
Da fatan za a yi amfani da snippet na lamba mai zuwa don karanta sharhi daga zane na biyu na gabatarwar PowerPoint. Idan kuna buƙatar dawo da tsokaci daga duk nunin faifai, kawai sake maimaita kowane zane don cika abin da ake buƙata.
// Don ƙarin misalai, da fatan za a ziyarci https://github.com/aspose-slides-cloud
// Samu bayanan abokin ciniki daga https://dashboard.aspose.cloud/
string clientSecret = "7f098199230fc5f2175d494d48f2077c";
string clientID = "ee170169-ca49-49a4-87b7-0e2ff815ea6e";
// ƙirƙirar misali na SlidesApi
SlidesApi slidesApi = new SlidesApi(clientID, clientSecret);
// sunan tushen PPTX samuwa a cikin Cloud ma'aji
string inputPPT = "Photography portfolio (modern simple).pptx";
// sami tsokaci daga nunin faifan PowerPoint na biyu
var responseStream = slidesApi.GetSlideComments(inputPPT,2, null, null, null);
Wani zaɓi shine a yi amfani da umarnin cURL don samun sharhi. Kawai aiwatar da umarni mai zuwa don cika wannan buƙatu.
curl -v "https://api.aspose.cloud/v3.0/slides/{sourcePowerPoint}/slides/2/comments" \
-X GET \
-H "accept: application/json" \
-H "authorization: Bearer {accessToken}"
Sauya ‘sourcePowerPoint’ tare da sunan shigar da PowerPoint da ke cikin ma’ajiyar gajimare.
Kuna iya la’akari da ziyartar sashin saurin farawa a cikin takaddun samfur don bayanin da ya danganci yadda ake samar da alamar shiga JWT.
Za a iya sauke samfurin gabatarwar PowerPoint da aka yi amfani da shi a cikin misalin da ke sama daga [Polio Hotuna (mai sauƙi na zamani)](https://create.microsoft.com/en-us/template/photography-portfolio-(modern-simple)-a714f435-0e16 -4279-801d-c675dc9f56e1).
Ƙara Ra’ayoyin Slide ta amfani da C# .NET
Ƙarin tsokaci zuwa nunin PowerPoint ana iya cika shi cikin sauƙi ta amfani da snippet mai zuwa.
// Don ƙarin misalai, da fatan za a ziyarci https://github.com/aspose-slides-cloud
// Samu bayanan abokin ciniki daga https://dashboard.aspose.cloud/
string clientSecret = "7f098199230fc5f2175d494d48f2077c";
string clientID = "ee170169-ca49-49a4-87b7-0e2ff815ea6e";
// ƙirƙirar misali na SlidesApi
SlidesApi slidesApi = new SlidesApi(clientID, clientSecret);
// sunan shigar da PowerPoint a cikin ma'ajin gajimare
string inputPPT = "Photography portfolio (modern simple).pptx";
// ƙirƙiri abin sharhi na slide
SlideComment dto = new SlideComment()
{
Text = "Parent Comments",
Author = "Nayyer Shahbaz",
ChildComments = new List<SlideCommentBase>()
{
new SlideComment()
{
Text = "Child comment text",
Author = "Author Nayyer"
}
}
};
// ƙara sharhi akan faifan farko na PowerPoint
var responseStream = slidesApi.CreateComment(inputPPT,1,dto, null, null);
Yanzu bari mu gwada haɓaka wasu fahimta game da guntun lambar da aka bayyana a sama.
SlidesApi slidesApi = new SlidesApi(clientID, clientSecret);
Ƙirƙiri wani abu na ajin SlidesApi inda muka wuce bayanan abokin ciniki azaman muhawara.
SlideComment dto = new SlideComment()
Ƙirƙiri wani abu na ‘SlideComment’ wanda ake amfani da shi don ayyana ra’ayin iyaye da na yara. Ana ƙara sharhin yaro azaman misalin Lissafi. Don haka, ana iya ƙara ra’ayoyin yara ɗaya ko fiye a ƙarƙashin sharhin iyaye.
var responseStream = slidesApi.CreateComment(inputPPT,1,dto, null, null);
A ƙarshe, kira API don ƙara sharhi zuwa nunin farko na gabatarwar PowerPoint. Bayan aiki mai nasara, ana adana sakamakon PowerPoint zuwa ma’ajiyar gajimare.
Share Ra’ayoyin Slide ta amfani da C# .NET
Cloud SDK kuma yana goyan bayan fasalin don cire tsokaci na ƙayyadadden marubucin daga faifan. Idan ba a bayar da bayanin marubucin ba, to za a cire duk sharhin daga wani faifai.
// Don ƙarin misalai, da fatan za a ziyarci https://github.com/aspose-slides-cloud
// Samu bayanan abokin ciniki daga https://dashboard.aspose.cloud/
string clientSecret = "7f098199230fc5f2175d494d48f2077c";
string clientID = "ee170169-ca49-49a4-87b7-0e2ff815ea6e";
// ƙirƙirar misali na SlidesApi
SlidesApi slidesApi = new SlidesApi(clientID, clientSecret);
// sunan tushen PPTX samuwa a cikin Cloud ma'aji
string inputPPT = "Photography portfolio (modern simple).pptx";
// Share duk maganganun da mai amfani ya ƙara "Sabon Mawallafi" akan faifai na farko
var responseStream = slidesApi.DeleteSlideComments(inputPPT,1,"Author Nayyer");
Yi amfani da umarnin CURL mai zuwa don cire sharhin da Mawallafin “Marubuci Nayyer ya ƙara”.
curl -v "https://api.aspose.cloud/v3.0/slides/{sourcePPTX}/slides/1/comments?author=Author%20Nayyer"
-X DELETE \
-H "accept: application/json" \
-H "authorization: Bearer {accessToken}"
Kammalawa
A ƙarshe, yin amfani da damar Aspose.Slides Cloud SDK don NET yana ba ku damar haɓaka gabatarwar PowerPoint ta ƙara, maidowa, da share sharhi cikin sauƙi. Ta hanyar haɗa tsokaci, zaku iya haɓaka ingantaccen haɗin gwiwa, sauƙaƙe tattara ra’ayoyin, da haɓaka sadarwa tsakanin membobin ƙungiyar da masu ruwa da tsaki. Bugu da ƙari, tare da hanyoyin ilhama na SDK, zaku iya ƙara sharhi zuwa takamaiman nunin faifai, dawo da bayanan da ke akwai don bita ko bincike, da cire sharhi idan an buƙata.
Don haka, ta hanyar amfani da ikon Aspose.Slides Cloud, zaku iya haɓaka gabatarwar ku ta PowerPoint zuwa sabon tsayi kuma ku isar da abun ciki mai tasiri wanda ya dace da masu sauraron ku.
Hanyoyin haɗi masu amfani
- Jagorar Mai Haɓakawa
- Reference
- SDK Source Code
- [Zauren Tallafawa Kyauta 6
- Live Demos
Labarai masu alaka
Muna ba da shawarar ziyartar shafukan yanar gizo masu zuwa: